angular.json 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "CraftsMart-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. "styles": [
  38. "src/styles.scss",
  39. {
  40. "input": "node_modules/@ionic/angular/css/core.css"
  41. },
  42. {
  43. "input": "node_modules/@ionic/angular/css/normalize.css"
  44. },
  45. {
  46. "input": "node_modules/@ionic/angular/css/structure.css"
  47. },
  48. {
  49. "input": "node_modules/@ionic/angular/css/typography.css"
  50. },
  51. {
  52. "input": "node_modules/@ionic/angular/css/display.css"
  53. },
  54. {
  55. "input": "node_modules/@ionic/angular/css/padding.css"
  56. },
  57. {
  58. "input": "node_modules/@ionic/angular/css/float-elements.css"
  59. },
  60. {
  61. "input": "node_modules/@ionic/angular/css/text-alignment.css"
  62. },
  63. {
  64. "input": "node_modules/@ionic/angular/css/text-transformation.css"
  65. },
  66. {
  67. "input": "node_modules/@ionic/angular/css/flex-utils.css"
  68. },
  69. {
  70. "input": "src/theme/variables.css"
  71. }
  72. ],
  73. "scripts": []
  74. },
  75. "configurations": {
  76. "production": {
  77. "budgets": [
  78. {
  79. "type": "initial",
  80. "maximumWarning": "500kb",
  81. "maximumError": "1mb"
  82. },
  83. {
  84. "type": "anyComponentStyle",
  85. "maximumWarning": "2kb",
  86. "maximumError": "4kb"
  87. }
  88. ],
  89. "outputHashing": "all"
  90. },
  91. "development": {
  92. "buildOptimizer": false,
  93. "optimization": false,
  94. "vendorChunk": true,
  95. "extractLicenses": false,
  96. "sourceMap": true,
  97. "namedChunks": true
  98. }
  99. },
  100. "defaultConfiguration": "production"
  101. },
  102. "serve": {
  103. "builder": "@angular-devkit/build-angular:dev-server",
  104. "configurations": {
  105. "production": {
  106. "browserTarget": "CraftsMart-angular:build:production"
  107. },
  108. "development": {
  109. "browserTarget": "CraftsMart-angular:build:development"
  110. }
  111. },
  112. "defaultConfiguration": "development"
  113. },
  114. "extract-i18n": {
  115. "builder": "@angular-devkit/build-angular:extract-i18n",
  116. "options": {
  117. "browserTarget": "CraftsMart-angular:build"
  118. }
  119. },
  120. "test": {
  121. "builder": "@angular-devkit/build-angular:karma",
  122. "options": {
  123. "polyfills": [
  124. "zone.js",
  125. "zone.js/testing"
  126. ],
  127. "tsConfig": "tsconfig.spec.json",
  128. "inlineStyleLanguage": "scss",
  129. "assets": [
  130. "src/favicon.ico",
  131. "src/assets",
  132. {
  133. "glob": "**/*.svg",
  134. "input": "node_modules/ionicons/dist/ionicons/svg",
  135. "output": "./svg"
  136. }
  137. ],
  138. "styles": [
  139. "src/styles.scss"
  140. ],
  141. "scripts": []
  142. }
  143. },
  144. "ionic-cordova-serve": {
  145. "builder": "@ionic/angular-toolkit:cordova-serve",
  146. "options": {
  147. "cordovaBuildTarget": "CraftsMart-angular:ionic-cordova-build",
  148. "devServerTarget": "CraftsMart-angular:serve"
  149. },
  150. "configurations": {
  151. "production": {
  152. "cordovaBuildTarget": "CraftsMart-angular:ionic-cordova-build:production",
  153. "devServerTarget": "CraftsMart-angular:serve:production"
  154. }
  155. }
  156. },
  157. "ionic-cordova-build": {
  158. "builder": "@ionic/angular-toolkit:cordova-build",
  159. "options": {
  160. "browserTarget": "CraftsMart-angular:build"
  161. },
  162. "configurations": {
  163. "production": {
  164. "browserTarget": "CraftsMart-angular:build:production"
  165. }
  166. }
  167. }
  168. }
  169. }
  170. },
  171. "cli": {
  172. "analytics": "79472871-679b-4872-a9ce-1884006e16dc"
  173. }
  174. }