angular.json 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "fisapp-ui": {
  7. "projectType": "application",
  8. "schematics": {
  9. "@schematics/angular:component": {
  10. "style": "scss"
  11. }
  12. },
  13. "root": "",
  14. "sourceRoot": "src",
  15. "prefix": "app",
  16. "architect": {
  17. "build": {
  18. "builder": "@angular-devkit/build-angular:application",
  19. "options": {
  20. "outputPath": "dist/fisapp-ui",
  21. "index": "src/index.html",
  22. "browser": "src/main.ts",
  23. "polyfills": [
  24. "zone.js"
  25. ],
  26. "tsConfig": "tsconfig.app.json",
  27. "inlineStyleLanguage": "scss",
  28. "assets": [
  29. "src/favicon.ico",
  30. "src/assets",
  31. "src/config",
  32. "src/manifest.webmanifest"
  33. ],
  34. "styles": [
  35. "angularlib/styles/main.theme.scss",
  36. "angularlib/styles/pink.theme.scss",
  37. "src/styles.scss"
  38. ],
  39. "scripts": []
  40. },
  41. "configurations": {
  42. "production": {
  43. "budgets": [
  44. {
  45. "type": "initial",
  46. "maximumWarning": "5000kb",
  47. "maximumError": "6mb"
  48. },
  49. {
  50. "type": "anyComponentStyle",
  51. "maximumWarning": "6kb",
  52. "maximumError": "8kb"
  53. }
  54. ],
  55. "outputHashing": "all"
  56. },
  57. "leave-prod": {
  58. "budgets": [
  59. {
  60. "type": "initial",
  61. "maximumWarning": "5000kb",
  62. "maximumError": "6mb"
  63. },
  64. {
  65. "type": "anyComponentStyle",
  66. "maximumWarning": "6kb",
  67. "maximumError": "8kb"
  68. }
  69. ],
  70. "outputHashing": "all",
  71. "assets": [
  72. "src/favicon.ico",
  73. "src/assets",
  74. "src/config",
  75. "src/manifest.webmanifest",
  76. {
  77. "input": "src/src.leave",
  78. "output": "",
  79. "glob": "*"
  80. }
  81. ],
  82. "fileReplacements": [
  83. {
  84. "replace": "src/app/menu/menu.ts",
  85. "with":"src/app/menu/menu.leave.ts"
  86. }
  87. ]
  88. },
  89. "quotation-prod": {
  90. "budgets": [
  91. {
  92. "type": "initial",
  93. "maximumWarning": "5000kb",
  94. "maximumError": "6mb"
  95. },
  96. {
  97. "type": "anyComponentStyle",
  98. "maximumWarning": "6kb",
  99. "maximumError": "8kb"
  100. }
  101. ],
  102. "outputHashing": "all",
  103. "assets": [
  104. "src/favicon.ico",
  105. "src/assets",
  106. "src/config",
  107. "src/manifest.webmanifest",
  108. {
  109. "input": "src/src.quotation",
  110. "output": "",
  111. "glob": "*"
  112. }
  113. ],
  114. "fileReplacements": [
  115. {
  116. "replace": "src/app/menu/menu.ts",
  117. "with":"src/app/menu/menu.quotation.ts"
  118. }
  119. ]
  120. },
  121. "development": {
  122. "optimization": false,
  123. "extractLicenses": false,
  124. "sourceMap": true,
  125. "assets": [
  126. "src/favicon.ico",
  127. "src/assets",
  128. "src/config",
  129. "src/manifest.webmanifest",
  130. {
  131. "input": "src/src.test",
  132. "output": "",
  133. "glob": "*/*"
  134. },
  135. {
  136. "input": "src/src.test/assets/icons",
  137. "output": "assets/icons",
  138. "glob": "*.png"
  139. }
  140. ],
  141. "fileReplacements": [
  142. {
  143. "replace": "src/dependencies/dp-ui/socket/ngxSocket.service.ts",
  144. "with":"src/dependencies/dp-ui/socket/ngxSocket.service.t.ts"
  145. },
  146. {
  147. "replace": "src/dependencies/dp-ui/dp.service.ts",
  148. "with":"src/dependencies/dp-ui/dp.service.t.ts"
  149. },
  150. {
  151. "replace": "src/dependencies/angularlib/environments/environment.ts",
  152. "with":"src/dependencies/angularlib/environments/environment.t.ts"
  153. }
  154. ]
  155. }
  156. },
  157. "defaultConfiguration": "development"
  158. },
  159. "serve": {
  160. "builder": "@angular-devkit/build-angular:dev-server",
  161. "configurations": {
  162. "production": {
  163. "buildTarget": "fisapp-ui:build:production"
  164. },
  165. "development": {
  166. "buildTarget": "fisapp-ui:build:development"
  167. }
  168. },
  169. "defaultConfiguration": "development"
  170. },
  171. "extract-i18n": {
  172. "builder": "@angular-devkit/build-angular:extract-i18n",
  173. "options": {
  174. "buildTarget": "fisapp-ui:build"
  175. }
  176. },
  177. "test": {
  178. "builder": "@angular-devkit/build-angular:karma",
  179. "options": {
  180. "polyfills": [
  181. "zone.js",
  182. "zone.js/testing"
  183. ],
  184. "tsConfig": "tsconfig.spec.json",
  185. "inlineStyleLanguage": "scss",
  186. "assets": [
  187. "src/favicon.ico",
  188. "src/assets"
  189. ],
  190. "styles": [
  191. "src/styles.scss"
  192. ],
  193. "scripts": []
  194. }
  195. }
  196. }
  197. }
  198. },
  199. "cli": {
  200. "analytics": false
  201. }
  202. }