説明なし

angular.json 5.1KB

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

Powered by TurnKey Linux.