angular.json 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "app-angular": {
  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:browser",
  19. "options": {
  20. "outputPath": "www",
  21. "index": "src/index.html",
  22. "main": "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. {
  32. "glob": "**/*.svg",
  33. "input": "node_modules/ionicons/dist/ionicons/svg",
  34. "output": "./svg"
  35. },
  36. {
  37. "glob": "**/*.svg",
  38. "input": "node_modules/ionicons/dist/ionicons/svg",
  39. "output": "./svg"
  40. }
  41. ],
  42. "styles": [
  43. "src/styles.scss",
  44. {
  45. "input": "node_modules/@ionic/angular/css/core.css"
  46. },
  47. {
  48. "input": "node_modules/@ionic/angular/css/normalize.css"
  49. },
  50. {
  51. "input": "node_modules/@ionic/angular/css/structure.css"
  52. },
  53. {
  54. "input": "node_modules/@ionic/angular/css/typography.css"
  55. },
  56. {
  57. "input": "node_modules/@ionic/angular/css/display.css"
  58. },
  59. {
  60. "input": "node_modules/@ionic/angular/css/padding.css"
  61. },
  62. {
  63. "input": "node_modules/@ionic/angular/css/float-elements.css"
  64. },
  65. {
  66. "input": "node_modules/@ionic/angular/css/text-alignment.css"
  67. },
  68. {
  69. "input": "node_modules/@ionic/angular/css/text-transformation.css"
  70. },
  71. {
  72. "input": "node_modules/@ionic/angular/css/flex-utils.css"
  73. },
  74. {
  75. "input": "src/theme/variables.css"
  76. },
  77. {
  78. "input": "node_modules/@ionic/angular/css/core.css"
  79. },
  80. {
  81. "input": "node_modules/@ionic/angular/css/normalize.css"
  82. },
  83. {
  84. "input": "node_modules/@ionic/angular/css/structure.css"
  85. },
  86. {
  87. "input": "node_modules/@ionic/angular/css/typography.css"
  88. },
  89. {
  90. "input": "node_modules/@ionic/angular/css/display.css"
  91. },
  92. {
  93. "input": "node_modules/@ionic/angular/css/padding.css"
  94. },
  95. {
  96. "input": "node_modules/@ionic/angular/css/float-elements.css"
  97. },
  98. {
  99. "input": "node_modules/@ionic/angular/css/text-alignment.css"
  100. },
  101. {
  102. "input": "node_modules/@ionic/angular/css/text-transformation.css"
  103. },
  104. {
  105. "input": "node_modules/@ionic/angular/css/flex-utils.css"
  106. },
  107. {
  108. "input": "src/theme/variables.css"
  109. }
  110. ],
  111. "scripts": []
  112. },
  113. "configurations": {
  114. "production": {
  115. "budgets": [
  116. {
  117. "type": "initial",
  118. "maximumWarning": "900kb",
  119. "maximumError": "1mb"
  120. },
  121. {
  122. "type": "anyComponentStyle",
  123. "maximumWarning": "2kb",
  124. "maximumError": "4kb"
  125. }
  126. ],
  127. "outputHashing": "all"
  128. },
  129. "development": {
  130. "buildOptimizer": false,
  131. "optimization": false,
  132. "vendorChunk": true,
  133. "extractLicenses": false,
  134. "sourceMap": true,
  135. "namedChunks": true
  136. }
  137. },
  138. "defaultConfiguration": "production"
  139. },
  140. "serve": {
  141. "builder": "@angular-devkit/build-angular:dev-server",
  142. "configurations": {
  143. "production": {
  144. "browserTarget": "app-angular:build:production"
  145. },
  146. "development": {
  147. "browserTarget": "app-angular:build:development"
  148. }
  149. },
  150. "defaultConfiguration": "development"
  151. },
  152. "extract-i18n": {
  153. "builder": "@angular-devkit/build-angular:extract-i18n",
  154. "options": {
  155. "browserTarget": "app-angular:build"
  156. }
  157. },
  158. "test": {
  159. "builder": "@angular-devkit/build-angular:karma",
  160. "options": {
  161. "polyfills": [
  162. "zone.js",
  163. "zone.js/testing"
  164. ],
  165. "tsConfig": "tsconfig.spec.json",
  166. "inlineStyleLanguage": "scss",
  167. "assets": [
  168. "src/favicon.ico",
  169. "src/assets",
  170. {
  171. "glob": "**/*.svg",
  172. "input": "node_modules/ionicons/dist/ionicons/svg",
  173. "output": "./svg"
  174. },
  175. {
  176. "glob": "**/*.svg",
  177. "input": "node_modules/ionicons/dist/ionicons/svg",
  178. "output": "./svg"
  179. }
  180. ],
  181. "styles": [
  182. "src/styles.scss"
  183. ],
  184. "scripts": []
  185. }
  186. },
  187. "ionic-cordova-serve": {
  188. "builder": "@ionic/angular-toolkit:cordova-serve",
  189. "options": {
  190. "cordovaBuildTarget": "app-angular:ionic-cordova-build",
  191. "devServerTarget": "app-angular:serve"
  192. },
  193. "configurations": {
  194. "production": {
  195. "cordovaBuildTarget": "app-angular:ionic-cordova-build:production",
  196. "devServerTarget": "app-angular:serve:production"
  197. }
  198. }
  199. },
  200. "ionic-cordova-build": {
  201. "builder": "@ionic/angular-toolkit:cordova-build",
  202. "options": {
  203. "browserTarget": "app-angular:build"
  204. },
  205. "configurations": {
  206. "production": {
  207. "browserTarget": "app-angular:build:production"
  208. }
  209. }
  210. }
  211. }
  212. }
  213. },
  214. "cli": {
  215. "analytics": "bc2f0891-ea37-49cd-809c-9ae3fc6e37cf"
  216. }
  217. }