angular.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "app": {
  7. "projectType": "application",
  8. "schematics": {},
  9. "root": "",
  10. "sourceRoot": "src",
  11. "prefix": "app",
  12. "architect": {
  13. "build": {
  14. "builder": "@angular-devkit/build-angular:browser",
  15. "options": {
  16. "outputPath": "www",
  17. "index": "src/index.html",
  18. "main": "src/main.ts",
  19. "polyfills": "src/polyfills.ts",
  20. "tsConfig": "tsconfig.app.json",
  21. "inlineStyleLanguage": "scss",
  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": [
  35. "@angular/material/prebuilt-themes/azure-blue.css",
  36. "src/global.scss",
  37. "src/theme/variables.scss"
  38. ],
  39. "scripts": []
  40. },
  41. "configurations": {
  42. "production": {
  43. "budgets": [
  44. {
  45. "type": "initial",
  46. "maximumWarning": "2mb",
  47. "maximumError": "5mb"
  48. },
  49. {
  50. "type": "anyComponentStyle",
  51. "maximumWarning": "2kb",
  52. "maximumError": "4kb"
  53. }
  54. ],
  55. "fileReplacements": [
  56. {
  57. "replace": "src/environments/environment.ts",
  58. "with": "src/environments/environment.prod.ts"
  59. }
  60. ],
  61. "outputHashing": "all"
  62. },
  63. "development": {
  64. "buildOptimizer": false,
  65. "optimization": false,
  66. "vendorChunk": true,
  67. "extractLicenses": false,
  68. "sourceMap": true,
  69. "namedChunks": true
  70. },
  71. "ci": {
  72. "progress": false
  73. }
  74. },
  75. "defaultConfiguration": "production"
  76. },
  77. "serve": {
  78. "builder": "@angular-devkit/build-angular:dev-server",
  79. "configurations": {
  80. "production": {
  81. "buildTarget": "app:build:production"
  82. },
  83. "development": {
  84. "buildTarget": "app:build:development"
  85. },
  86. "ci": {
  87. "progress": false
  88. }
  89. },
  90. "defaultConfiguration": "development"
  91. },
  92. "extract-i18n": {
  93. "builder": "@angular-devkit/build-angular:extract-i18n",
  94. "options": {
  95. "buildTarget": "app:build"
  96. }
  97. },
  98. "test": {
  99. "builder": "@angular-devkit/build-angular:karma",
  100. "options": {
  101. "main": "src/test.ts",
  102. "polyfills": "src/polyfills.ts",
  103. "tsConfig": "tsconfig.spec.json",
  104. "karmaConfig": "karma.conf.js",
  105. "inlineStyleLanguage": "scss",
  106. "assets": [
  107. {
  108. "glob": "**/*",
  109. "input": "src/assets",
  110. "output": "assets"
  111. },
  112. {
  113. "glob": "**/*.svg",
  114. "input": "node_modules/ionicons/dist/ionicons/svg",
  115. "output": "./svg"
  116. }
  117. ],
  118. "styles": [
  119. "@angular/material/prebuilt-themes/azure-blue.css",
  120. "src/global.scss",
  121. "src/theme/variables.scss"
  122. ],
  123. "scripts": []
  124. },
  125. "configurations": {
  126. "ci": {
  127. "progress": false,
  128. "watch": false
  129. }
  130. }
  131. },
  132. "lint": {
  133. "builder": "@angular-eslint/builder:lint",
  134. "options": {
  135. "lintFilePatterns": [
  136. "src/**/*.ts",
  137. "src/**/*.html"
  138. ]
  139. }
  140. }
  141. }
  142. }
  143. },
  144. "cli": {
  145. "schematicCollections": [
  146. "@ionic/angular-toolkit"
  147. ],
  148. "analytics": false
  149. },
  150. "schematics": {
  151. "@ionic/angular-toolkit:component": {
  152. "styleext": "scss"
  153. },
  154. "@ionic/angular-toolkit:page": {
  155. "styleext": "scss"
  156. }
  157. }
  158. }