angular.json 6.2 KB

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