Project: Mall App Client: Maiora
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

angular.json 5.3 KiB

6 years ago
6 years ago
6 years ago
6 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. {
  2. "$schema": "./node_modules/@angular-devkit/core/src/workspace/workspace-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": "www",
  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. "src/manifest.webmanifest"
  34. ],
  35. "styles": [
  36. {
  37. "input": "src/theme/variables.scss"
  38. },
  39. {
  40. "input": "src/global.scss"
  41. }
  42. ],
  43. "scripts": []
  44. },
  45. "configurations": {
  46. "production": {
  47. "fileReplacements": [
  48. {
  49. "replace": "src/environments/environment.ts",
  50. "with": "src/environments/environment.prod.ts"
  51. }
  52. ],
  53. "optimization": true,
  54. "outputHashing": "all",
  55. "sourceMap": false,
  56. "extractCss": true,
  57. "namedChunks": false,
  58. "aot": true,
  59. "extractLicenses": true,
  60. "vendorChunk": false,
  61. "buildOptimizer": true,
  62. "budgets": [
  63. {
  64. "type": "initial",
  65. "maximumWarning": "2mb",
  66. "maximumError": "5mb"
  67. }
  68. ],
  69. "serviceWorker": true,
  70. "ngswConfigPath": "ngsw-config.json"
  71. },
  72. "ci": {
  73. "progress": false
  74. }
  75. }
  76. },
  77. "serve": {
  78. "builder": "@angular-devkit/build-angular:dev-server",
  79. "options": {
  80. "browserTarget": "app:build"
  81. },
  82. "configurations": {
  83. "production": {
  84. "browserTarget": "app:build:production"
  85. },
  86. "ci": {
  87. "progress": false
  88. }
  89. }
  90. },
  91. "extract-i18n": {
  92. "builder": "@angular-devkit/build-angular:extract-i18n",
  93. "options": {
  94. "browserTarget": "app:build"
  95. }
  96. },
  97. "test": {
  98. "builder": "@angular-devkit/build-angular:karma",
  99. "options": {
  100. "main": "src/test.ts",
  101. "polyfills": "src/polyfills.ts",
  102. "tsConfig": "tsconfig.spec.json",
  103. "karmaConfig": "karma.conf.js",
  104. "styles": [],
  105. "scripts": [],
  106. "assets": [
  107. {
  108. "glob": "favicon.ico",
  109. "input": "src/",
  110. "output": "/"
  111. },
  112. {
  113. "glob": "**/*",
  114. "input": "src/assets",
  115. "output": "/assets"
  116. },
  117. "src/manifest.webmanifest"
  118. ]
  119. },
  120. "configurations": {
  121. "ci": {
  122. "progress": false,
  123. "watch": false
  124. }
  125. }
  126. },
  127. "lint": {
  128. "builder": "@angular-devkit/build-angular:tslint",
  129. "options": {
  130. "tsConfig": [
  131. "tsconfig.app.json",
  132. "tsconfig.spec.json",
  133. "e2e/tsconfig.json"
  134. ],
  135. "exclude": ["**/node_modules/**"]
  136. }
  137. },
  138. "e2e": {
  139. "builder": "@angular-devkit/build-angular:protractor",
  140. "options": {
  141. "protractorConfig": "e2e/protractor.conf.js",
  142. "devServerTarget": "app:serve"
  143. },
  144. "configurations": {
  145. "production": {
  146. "devServerTarget": "app:serve:production"
  147. },
  148. "ci": {
  149. "devServerTarget": "app:serve:ci"
  150. }
  151. }
  152. },
  153. "ionic-cordova-build": {
  154. "builder": "@ionic/angular-toolkit:cordova-build",
  155. "options": {
  156. "browserTarget": "app:build"
  157. },
  158. "configurations": {
  159. "production": {
  160. "browserTarget": "app:build:production"
  161. }
  162. }
  163. },
  164. "ionic-cordova-serve": {
  165. "builder": "@ionic/angular-toolkit:cordova-serve",
  166. "options": {
  167. "cordovaBuildTarget": "app:ionic-cordova-build",
  168. "devServerTarget": "app:serve"
  169. },
  170. "configurations": {
  171. "production": {
  172. "cordovaBuildTarget": "app:ionic-cordova-build:production",
  173. "devServerTarget": "app:serve:production"
  174. }
  175. }
  176. }
  177. }
  178. }
  179. },
  180. "cli": {
  181. "defaultCollection": "@ionic/angular-toolkit"
  182. },
  183. "schematics": {
  184. "@ionic/angular-toolkit:component": {
  185. "styleext": "scss"
  186. },
  187. "@ionic/angular-toolkit:page": {
  188. "styleext": "scss"
  189. }
  190. }
  191. }