angular.json 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "defaultProject": "app",
  5. "newProjectRoot": "projects",
  6. "projects": {
  7. "app": {
  8. "root": "",
  9. "sourceRoot": "src",
  10. "projectType": "application",
  11. "prefix": "app",
  12. "schematics": {},
  13. "architect": {
  14. "build": {
  15. "builder": "@angular-devkit/build-angular:browser",
  16. "options": {
  17. "outputPath": "../../OrderSystem.Web/wwwroot/h5/v1",
  18. "index": "src/index.html",
  19. "main": "src/main.ts",
  20. "polyfills": "src/polyfills.ts",
  21. "tsConfig": "tsconfig.app.json",
  22. "assets": [
  23. {
  24. "glob": "**/*",
  25. "input": "src/assets",
  26. "output": "assets"
  27. },
  28. {
  29. "glob": "**/*.svg",
  30. "input": "node_modules/ionicons/dist/ionicons/svg",
  31. "output": "./svg"
  32. },
  33. {
  34. "glob": "**/*.svg",
  35. "input": "src/assets/fonts",
  36. "output": "./svg"
  37. }
  38. ],
  39. "styles": [ "src/theme/variables.scss", "src/global.scss", "src/app/app.scss", "src/theme/quill.snow.css" ],
  40. "scripts": []
  41. },
  42. "configurations": {
  43. "production": {
  44. "fileReplacements": [
  45. {
  46. "replace": "src/environments/environment.ts",
  47. "with": "src/environments/environment.prod.ts"
  48. }
  49. ],
  50. "optimization": true,
  51. "outputHashing": "all",
  52. "sourceMap": false,
  53. "namedChunks": false,
  54. "aot": true,
  55. "extractLicenses": true,
  56. "vendorChunk": false,
  57. "buildOptimizer": true,
  58. "budgets": [
  59. {
  60. "type": "initial",
  61. "maximumWarning": "2mb",
  62. "maximumError": "5mb"
  63. }
  64. ]
  65. },
  66. "ci": {
  67. "progress": false
  68. }
  69. }
  70. },
  71. "serve": {
  72. "builder": "@angular-devkit/build-angular:dev-server",
  73. "options": {
  74. "browserTarget": "app:build"
  75. },
  76. "configurations": {
  77. "production": {
  78. "browserTarget": "app:build:production"
  79. },
  80. "ci": {
  81. "progress": false
  82. }
  83. }
  84. },
  85. "extract-i18n": {
  86. "builder": "@angular-devkit/build-angular:extract-i18n",
  87. "options": {
  88. "browserTarget": "app:build"
  89. }
  90. },
  91. "test": {
  92. "builder": "@angular-devkit/build-angular:karma",
  93. "options": {
  94. "main": "src/test.ts",
  95. "polyfills": "src/polyfills.ts",
  96. "tsConfig": "tsconfig.spec.json",
  97. "karmaConfig": "karma.conf.js",
  98. "styles": [],
  99. "scripts": [],
  100. "assets": [
  101. {
  102. "glob": "favicon.ico",
  103. "input": "src/",
  104. "output": "/"
  105. },
  106. {
  107. "glob": "**/*",
  108. "input": "src/assets",
  109. "output": "/assets"
  110. }
  111. ]
  112. },
  113. "configurations": {
  114. "ci": {
  115. "progress": false,
  116. "watch": false
  117. }
  118. }
  119. },
  120. "lint": {
  121. "builder": "@angular-eslint/builder:lint",
  122. "options": {
  123. "lintFilePatterns": [
  124. "src/**/*.ts",
  125. "src/**/*.html"
  126. ]
  127. }
  128. },
  129. "e2e": {
  130. "builder": "@angular-devkit/build-angular:protractor",
  131. "options": {
  132. "protractorConfig": "e2e/protractor.conf.js",
  133. "devServerTarget": "app:serve"
  134. },
  135. "configurations": {
  136. "production": {
  137. "devServerTarget": "app:serve:production"
  138. },
  139. "ci": {
  140. "devServerTarget": "app:serve:ci"
  141. }
  142. }
  143. },
  144. "ionic-cordova-build": {
  145. "builder": "@ionic/angular-toolkit:cordova-build",
  146. "options": {
  147. "browserTarget": "app:build"
  148. },
  149. "configurations": {
  150. "production": {
  151. "browserTarget": "app:build:production"
  152. }
  153. }
  154. },
  155. "ionic-cordova-serve": {
  156. "builder": "@ionic/angular-toolkit:cordova-serve",
  157. "options": {
  158. "cordovaBuildTarget": "app:ionic-cordova-build",
  159. "devServerTarget": "app:serve"
  160. },
  161. "configurations": {
  162. "production": {
  163. "cordovaBuildTarget": "app:ionic-cordova-build:production",
  164. "devServerTarget": "app:serve:production"
  165. }
  166. }
  167. }
  168. }
  169. }
  170. },
  171. "cli": {
  172. "analytics": "31504673-570e-4655-8dac-355da35d24ad",
  173. "defaultCollection": "@ionic/angular-toolkit"
  174. },
  175. "schematics": {
  176. "@ionic/angular-toolkit:component": {
  177. "styleext": "scss"
  178. },
  179. "@ionic/angular-toolkit:page": {
  180. "styleext": "scss"
  181. }
  182. }
  183. }