angular.json 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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. "production-leave": {
  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. "fileReplacements": [
  72. {
  73. "replace": "src/app/menu/menu.ts",
  74. "with":"src/app/menu/menu.leave.ts"
  75. }
  76. ]
  77. },
  78. "production-quotation": {
  79. "budgets": [
  80. {
  81. "type": "initial",
  82. "maximumWarning": "5000kb",
  83. "maximumError": "6mb"
  84. },
  85. {
  86. "type": "anyComponentStyle",
  87. "maximumWarning": "6kb",
  88. "maximumError": "8kb"
  89. }
  90. ],
  91. "outputHashing": "all",
  92. "fileReplacements": [
  93. {
  94. "replace": "src/app/menu/menu.ts",
  95. "with":"src/app/menu/menu.quotation.ts"
  96. }
  97. ]
  98. },
  99. "development": {
  100. "optimization": false,
  101. "extractLicenses": false,
  102. "sourceMap": true,
  103. "assets": [
  104. "src/favicon.ico",
  105. "src/assets",
  106. "src/config",
  107. "src/manifest.webmanifest",
  108. {
  109. "input": "src/src.test",
  110. "output": "",
  111. "glob": "*/*"
  112. },
  113. {
  114. "input": "src/src.test/assets/icons",
  115. "output": "assets/icons",
  116. "glob": "*.png"
  117. }
  118. ],
  119. "fileReplacements": [
  120. {
  121. "replace": "src/dependencies/dp-ui/socket/ngxSocket.service.ts",
  122. "with":"src/dependencies/dp-ui/socket/ngxSocket.service.t.ts"
  123. },
  124. {
  125. "replace": "src/dependencies/dp-ui/dp.service.ts",
  126. "with":"src/dependencies/dp-ui/dp.service.t.ts"
  127. },
  128. {
  129. "replace": "src/dependencies/angularlib/environments/environment.ts",
  130. "with":"src/dependencies/angularlib/environments/environment.t.ts"
  131. }
  132. ]
  133. }
  134. },
  135. "defaultConfiguration": "development"
  136. },
  137. "serve": {
  138. "builder": "@angular-devkit/build-angular:dev-server",
  139. "configurations": {
  140. "production": {
  141. "buildTarget": "fisapp-ui:build:production"
  142. },
  143. "development": {
  144. "buildTarget": "fisapp-ui:build:development"
  145. }
  146. },
  147. "defaultConfiguration": "development"
  148. },
  149. "extract-i18n": {
  150. "builder": "@angular-devkit/build-angular:extract-i18n",
  151. "options": {
  152. "buildTarget": "fisapp-ui:build"
  153. }
  154. },
  155. "test": {
  156. "builder": "@angular-devkit/build-angular:karma",
  157. "options": {
  158. "polyfills": [
  159. "zone.js",
  160. "zone.js/testing"
  161. ],
  162. "tsConfig": "tsconfig.spec.json",
  163. "inlineStyleLanguage": "scss",
  164. "assets": [
  165. "src/favicon.ico",
  166. "src/assets"
  167. ],
  168. "styles": [
  169. "src/styles.scss"
  170. ],
  171. "scripts": []
  172. }
  173. }
  174. }
  175. }
  176. },
  177. "cli": {
  178. "analytics": false
  179. }
  180. }