angular.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "ai-voc-frontend": {
  7. "projectType": "application",
  8. "schematics": {
  9. "@schematics/angular:component": {
  10. "style": "scss",
  11. "standalone": true
  12. },
  13. "@schematics/angular:directive": {
  14. "standalone": true
  15. },
  16. "@schematics/angular:pipe": {
  17. "standalone": true
  18. }
  19. },
  20. "root": "",
  21. "sourceRoot": "src",
  22. "prefix": "app",
  23. "architect": {
  24. "build": {
  25. "builder": "@angular-devkit/build-angular:browser",
  26. "options": {
  27. "outputPath": "dist",
  28. "index": "src/index.html",
  29. "main": "src/main.ts",
  30. "polyfills": [
  31. "zone.js"
  32. ],
  33. "tsConfig": "tsconfig.app.json",
  34. "inlineStyleLanguage": "scss",
  35. "assets": [
  36. "src/favicon.ico",
  37. "src/assets"
  38. ],
  39. "styles": [
  40. "src/styles.scss"
  41. ],
  42. "scripts": [],
  43. "allowedCommonJsDependencies": [
  44. "echarts",
  45. "date-fns",
  46. "bowser",
  47. "camelcase",
  48. "decamelize",
  49. "p-retry",
  50. "crypto-js",
  51. "recorder-core",
  52. "dingtalk-jsapi",
  53. "spark-md5",
  54. "semver",
  55. "querystring",
  56. "file-saver"
  57. ]
  58. },
  59. "configurations": {
  60. "production": {
  61. "budgets": [
  62. {
  63. "type": "initial",
  64. "maximumWarning": "20mb",
  65. "maximumError": "25mb"
  66. },
  67. {
  68. "type": "anyComponentStyle",
  69. "maximumWarning": "20mb",
  70. "maximumError": "25mb"
  71. },
  72. {
  73. "type": "allScript",
  74. "maximumWarning": "20mb",
  75. "maximumError": "25mb"
  76. },
  77. {
  78. "type": "all",
  79. "maximumWarning": "20mb",
  80. "maximumError": "25mb"
  81. }
  82. ],
  83. "outputHashing": "all",
  84. "optimization": true,
  85. "sourceMap": false,
  86. "namedChunks": false,
  87. "extractLicenses": true,
  88. "vendorChunk": false,
  89. "buildOptimizer": true
  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. "options": {
  105. "headers": {
  106. "Cache-Control": "no-store, no-cache, must-revalidate, proxy-revalidate",
  107. "Pragma": "no-cache",
  108. "Expires": "0"
  109. }
  110. },
  111. "configurations": {
  112. "production": {
  113. "buildTarget": "ai-voc-frontend:build:production"
  114. },
  115. "development": {
  116. "buildTarget": "ai-voc-frontend:build:development"
  117. }
  118. },
  119. "defaultConfiguration": "development"
  120. },
  121. "extract-i18n": {
  122. "builder": "@angular-devkit/build-angular:extract-i18n",
  123. "options": {
  124. "buildTarget": "ai-voc-frontend:build"
  125. }
  126. },
  127. "test": {
  128. "builder": "@angular-devkit/build-angular:karma",
  129. "options": {
  130. "polyfills": [
  131. "zone.js",
  132. "zone.js/testing"
  133. ],
  134. "tsConfig": "tsconfig.spec.json",
  135. "inlineStyleLanguage": "scss",
  136. "assets": [
  137. "src/favicon.ico",
  138. "src/assets"
  139. ],
  140. "styles": [
  141. "src/styles.scss"
  142. ],
  143. "scripts": []
  144. }
  145. },
  146. "lint": {
  147. "builder": "@angular-eslint/builder:lint",
  148. "options": {
  149. "lintFilePatterns": [
  150. "src/**/*.ts",
  151. "src/**/*.html"
  152. ]
  153. }
  154. }
  155. }
  156. }
  157. },
  158. "cli": {
  159. "analytics": false,
  160. "cache": {
  161. "enabled": true,
  162. "path": ".angular/cache",
  163. "environment": "all"
  164. },
  165. "schematicCollections": [
  166. "@angular-eslint/schematics"
  167. ]
  168. }
  169. }