angular.json 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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. "serviceWorker": "ngsw-config.json"
  57. },
  58. "leave-prod": {
  59. "budgets": [
  60. {
  61. "type": "initial",
  62. "maximumWarning": "5000kb",
  63. "maximumError": "6mb"
  64. },
  65. {
  66. "type": "anyComponentStyle",
  67. "maximumWarning": "6kb",
  68. "maximumError": "8kb"
  69. }
  70. ],
  71. "outputHashing": "all",
  72. "assets": [
  73. "src/favicon.ico",
  74. "src/assets",
  75. "src/config",
  76. "src/manifest.webmanifest",
  77. {
  78. "input": "src/src.leave",
  79. "output": "",
  80. "glob": "*"
  81. },
  82. {
  83. "input": "src/src.leave",
  84. "output": "",
  85. "glob": "*/*"
  86. }
  87. ],
  88. "fileReplacements": [
  89. {
  90. "replace": "src/app/menu/menu.ts",
  91. "with":"src/app/menu/menu.leave.ts"
  92. }
  93. ]
  94. },
  95. "quotation-prod": {
  96. "budgets": [
  97. {
  98. "type": "initial",
  99. "maximumWarning": "5000kb",
  100. "maximumError": "6mb"
  101. },
  102. {
  103. "type": "anyComponentStyle",
  104. "maximumWarning": "6kb",
  105. "maximumError": "8kb"
  106. }
  107. ],
  108. "outputHashing": "all",
  109. "assets": [
  110. "src/favicon.ico",
  111. "src/assets",
  112. "src/config",
  113. "src/manifest.webmanifest",
  114. {
  115. "input": "src/src.quotation",
  116. "output": "",
  117. "glob": "*"
  118. },
  119. {
  120. "input": "src/src.leave",
  121. "output": "",
  122. "glob": "*/*"
  123. }
  124. ],
  125. "fileReplacements": [
  126. {
  127. "replace": "src/app/menu/menu.ts",
  128. "with":"src/app/menu/menu.quotation.ts"
  129. }
  130. ]
  131. },
  132. "development": {
  133. "optimization": false,
  134. "extractLicenses": false,
  135. "sourceMap": true,
  136. "assets": [
  137. "src/favicon.ico",
  138. "src/assets",
  139. "src/config",
  140. "src/manifest.webmanifest",
  141. {
  142. "input": "src/src.test",
  143. "output": "",
  144. "glob": "*/*"
  145. },
  146. {
  147. "input": "src/src.test/assets/icons",
  148. "output": "assets/icons",
  149. "glob": "*.png"
  150. }
  151. ],
  152. "fileReplacements": [
  153. {
  154. "replace": "src/dependencies/dp-ui/socket/ngxSocket.service.ts",
  155. "with":"src/dependencies/dp-ui/socket/ngxSocket.service.t.ts"
  156. },
  157. {
  158. "replace": "src/dependencies/dp-ui/dp.service.ts",
  159. "with":"src/dependencies/dp-ui/dp.service.t.ts"
  160. },
  161. {
  162. "replace": "src/dependencies/angularlib/environments/environment.ts",
  163. "with":"src/dependencies/angularlib/environments/environment.t.ts"
  164. }
  165. ],
  166. "serviceWorker": "ngsw-config.json"
  167. }
  168. },
  169. "defaultConfiguration": "development"
  170. },
  171. "serve": {
  172. "builder": "@angular-devkit/build-angular:dev-server",
  173. "configurations": {
  174. "production": {
  175. "buildTarget": "fisapp-ui:build:production"
  176. },
  177. "development": {
  178. "buildTarget": "fisapp-ui:build:development"
  179. }
  180. },
  181. "defaultConfiguration": "development"
  182. },
  183. "extract-i18n": {
  184. "builder": "@angular-devkit/build-angular:extract-i18n",
  185. "options": {
  186. "buildTarget": "fisapp-ui:build"
  187. }
  188. },
  189. "test": {
  190. "builder": "@angular-devkit/build-angular:karma",
  191. "options": {
  192. "polyfills": [
  193. "zone.js",
  194. "zone.js/testing"
  195. ],
  196. "tsConfig": "tsconfig.spec.json",
  197. "inlineStyleLanguage": "scss",
  198. "assets": [
  199. "src/favicon.ico",
  200. "src/assets"
  201. ],
  202. "styles": [
  203. "src/styles.scss"
  204. ],
  205. "scripts": []
  206. }
  207. }
  208. }
  209. }
  210. },
  211. "cli": {
  212. "analytics": false
  213. }
  214. }