angular.json 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  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.quotation",
  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. "maf-quot-prod": {
  133. "budgets": [
  134. {
  135. "type": "initial",
  136. "maximumWarning": "5000kb",
  137. "maximumError": "6mb"
  138. },
  139. {
  140. "type": "anyComponentStyle",
  141. "maximumWarning": "6kb",
  142. "maximumError": "8kb"
  143. }
  144. ],
  145. "outputHashing": "all",
  146. "assets": [
  147. "src/favicon.ico",
  148. "src/assets",
  149. "src/config",
  150. "src/manifest.webmanifest",
  151. {
  152. "input": "src/src.maf.quotation",
  153. "output": "",
  154. "glob": "*"
  155. },
  156. {
  157. "input": "src/src.maf.quotation",
  158. "output": "",
  159. "glob": "*/*"
  160. }
  161. ],
  162. "fileReplacements": [
  163. {
  164. "replace": "src/app/menu/menu.ts",
  165. "with":"src/app/menu/menu.quotation.ts"
  166. }
  167. ]
  168. },
  169. "development": {
  170. "optimization": false,
  171. "extractLicenses": false,
  172. "sourceMap": true,
  173. "assets": [
  174. "src/favicon.ico",
  175. "src/assets",
  176. "src/config",
  177. "src/manifest.webmanifest",
  178. {
  179. "input": "src/src.test",
  180. "output": "",
  181. "glob": "*/*"
  182. },
  183. {
  184. "input": "src/src.test/assets/icons",
  185. "output": "assets/icons",
  186. "glob": "*.png"
  187. }
  188. ],
  189. "fileReplacements": [
  190. {
  191. "replace": "src/dependencies/dp-ui/socket/ngxSocket.service.ts",
  192. "with":"src/dependencies/dp-ui/socket/ngxSocket.service.t.ts"
  193. },
  194. {
  195. "replace": "src/dependencies/dp-ui/dp.service.ts",
  196. "with":"src/dependencies/dp-ui/dp.service.t.ts"
  197. },
  198. {
  199. "replace": "src/dependencies/angularlib/environments/environment.ts",
  200. "with":"src/dependencies/angularlib/environments/environment.t.ts"
  201. }
  202. ],
  203. "serviceWorker": "ngsw-config.json"
  204. }
  205. },
  206. "defaultConfiguration": "development"
  207. },
  208. "serve": {
  209. "builder": "@angular-devkit/build-angular:dev-server",
  210. "configurations": {
  211. "production": {
  212. "buildTarget": "fisapp-ui:build:production"
  213. },
  214. "development": {
  215. "buildTarget": "fisapp-ui:build:development"
  216. }
  217. },
  218. "defaultConfiguration": "development"
  219. },
  220. "extract-i18n": {
  221. "builder": "@angular-devkit/build-angular:extract-i18n",
  222. "options": {
  223. "buildTarget": "fisapp-ui:build"
  224. }
  225. },
  226. "test": {
  227. "builder": "@angular-devkit/build-angular:karma",
  228. "options": {
  229. "polyfills": [
  230. "zone.js",
  231. "zone.js/testing"
  232. ],
  233. "tsConfig": "tsconfig.spec.json",
  234. "inlineStyleLanguage": "scss",
  235. "assets": [
  236. "src/favicon.ico",
  237. "src/assets"
  238. ],
  239. "styles": [
  240. "src/styles.scss"
  241. ],
  242. "scripts": []
  243. }
  244. }
  245. }
  246. }
  247. },
  248. "cli": {
  249. "analytics": false
  250. }
  251. }