angular.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "cli": {
  5. "packageManager": "npm"
  6. },
  7. "newProjectRoot": "projects",
  8. "projects": {
  9. "vcat_angular": {
  10. "projectType": "application",
  11. "schematics": {},
  12. "root": "",
  13. "sourceRoot": "src",
  14. "prefix": "app",
  15. "architect": {
  16. "build": {
  17. "builder": "@angular-devkit/build-angular:browser",
  18. "options": {
  19. "outputPath": "dist/vcat_angular",
  20. "index": "src/index.html",
  21. "main": "src/main.ts",
  22. "polyfills": [
  23. "zone.js"
  24. ],
  25. "tsConfig": "tsconfig.app.json",
  26. "assets": [
  27. "src/favicon.ico",
  28. "src/assets"
  29. ],
  30. "styles": [
  31. "src/styles.css"
  32. ],
  33. "scripts": []
  34. },
  35. "configurations": {
  36. "production": {
  37. "budgets": [
  38. {
  39. "type": "initial",
  40. "maximumWarning": "500kb",
  41. "maximumError": "1mb"
  42. },
  43. {
  44. "type": "anyComponentStyle",
  45. "maximumWarning": "2kb",
  46. "maximumError": "4kb"
  47. }
  48. ],
  49. "outputHashing": "all"
  50. },
  51. "development": {
  52. "buildOptimizer": false,
  53. "optimization": false,
  54. "vendorChunk": true,
  55. "extractLicenses": false,
  56. "sourceMap": true,
  57. "namedChunks": true
  58. }
  59. },
  60. "defaultConfiguration": "production"
  61. },
  62. "serve": {
  63. "builder": "@angular-devkit/build-angular:dev-server",
  64. "configurations": {
  65. "production": {
  66. "browserTarget": "vcat_angular:build:production"
  67. },
  68. "development": {
  69. "browserTarget": "vcat_angular:build:development"
  70. }
  71. },
  72. "defaultConfiguration": "development"
  73. },
  74. "extract-i18n": {
  75. "builder": "@angular-devkit/build-angular:extract-i18n",
  76. "options": {
  77. "browserTarget": "vcat_angular:build"
  78. }
  79. },
  80. "test": {
  81. "builder": "@angular-devkit/build-angular:karma",
  82. "options": {
  83. "polyfills": [
  84. "zone.js",
  85. "zone.js/testing"
  86. ],
  87. "tsConfig": "tsconfig.spec.json",
  88. "assets": [
  89. "src/favicon.ico",
  90. "src/assets"
  91. ],
  92. "styles": [
  93. "src/styles.css"
  94. ],
  95. "scripts": []
  96. }
  97. }
  98. }
  99. }
  100. }
  101. }