angular.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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/runtime-config.js",
  38. "src/assets"
  39. ],
  40. "styles": [
  41. "src/styles.scss"
  42. ],
  43. "scripts": [],
  44. "allowedCommonJsDependencies": [
  45. "echarts",
  46. "date-fns",
  47. "bowser",
  48. "camelcase",
  49. "decamelize",
  50. "p-retry",
  51. "crypto-js",
  52. "recorder-core",
  53. "dingtalk-jsapi",
  54. "spark-md5",
  55. "semver",
  56. "querystring",
  57. "file-saver"
  58. ]
  59. },
  60. "configurations": {
  61. "production": {
  62. "baseHref": "/dev/WAycAueuu6/",
  63. "budgets": [
  64. {
  65. "type": "initial",
  66. "maximumWarning": "20mb",
  67. "maximumError": "25mb"
  68. },
  69. {
  70. "type": "anyComponentStyle",
  71. "maximumWarning": "20mb",
  72. "maximumError": "25mb"
  73. },
  74. {
  75. "type": "allScript",
  76. "maximumWarning": "20mb",
  77. "maximumError": "25mb"
  78. },
  79. {
  80. "type": "all",
  81. "maximumWarning": "20mb",
  82. "maximumError": "25mb"
  83. }
  84. ],
  85. "outputHashing": "all",
  86. "optimization": true,
  87. "sourceMap": false,
  88. "namedChunks": false,
  89. "extractLicenses": true,
  90. "vendorChunk": false,
  91. "buildOptimizer": true
  92. },
  93. "development": {
  94. "buildOptimizer": false,
  95. "optimization": false,
  96. "vendorChunk": true,
  97. "extractLicenses": false,
  98. "sourceMap": true,
  99. "namedChunks": true
  100. }
  101. },
  102. "defaultConfiguration": "production"
  103. },
  104. "serve": {
  105. "builder": "@angular-devkit/build-angular:dev-server",
  106. "options": {
  107. "proxyConfig": "proxy.conf.json",
  108. "headers": {
  109. "Cache-Control": "no-store, no-cache, must-revalidate, proxy-revalidate",
  110. "Pragma": "no-cache",
  111. "Expires": "0"
  112. }
  113. },
  114. "configurations": {
  115. "production": {
  116. "buildTarget": "ai-voc-frontend:build:production"
  117. },
  118. "development": {
  119. "buildTarget": "ai-voc-frontend:build:development"
  120. }
  121. },
  122. "defaultConfiguration": "development"
  123. },
  124. "extract-i18n": {
  125. "builder": "@angular-devkit/build-angular:extract-i18n",
  126. "options": {
  127. "buildTarget": "ai-voc-frontend:build"
  128. }
  129. },
  130. "test": {
  131. "builder": "@angular-devkit/build-angular:karma",
  132. "options": {
  133. "polyfills": [
  134. "zone.js",
  135. "zone.js/testing"
  136. ],
  137. "tsConfig": "tsconfig.spec.json",
  138. "inlineStyleLanguage": "scss",
  139. "assets": [
  140. "src/favicon.ico",
  141. "src/runtime-config.js",
  142. "src/assets"
  143. ],
  144. "styles": [
  145. "src/styles.scss"
  146. ],
  147. "scripts": []
  148. }
  149. },
  150. "lint": {
  151. "builder": "@angular-eslint/builder:lint",
  152. "options": {
  153. "lintFilePatterns": [
  154. "src/**/*.ts",
  155. "src/**/*.html"
  156. ]
  157. }
  158. }
  159. }
  160. }
  161. },
  162. "cli": {
  163. "analytics": false,
  164. "cache": {
  165. "enabled": true,
  166. "path": ".angular/cache",
  167. "environment": "all"
  168. },
  169. "schematicCollections": [
  170. "@angular-eslint/schematics"
  171. ]
  172. }
  173. }