Geen omschrijving

angular.json 5.4KB

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

Powered by TurnKey Linux.