angular.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "rvc": {
  7. "projectType": "application",
  8. "schematics": {},
  9. "root": "",
  10. "sourceRoot": "src",
  11. "prefix": "app",
  12. "architect": {
  13. "build": {
  14. "builder": "@angular-devkit/build-angular:application",
  15. "options": {
  16. "outputPath": "dist/rvc",
  17. "index": "src/index.html",
  18. "browser": "src/main.ts",
  19. "polyfills": [
  20. "zone.js"
  21. ],
  22. "tsConfig": "tsconfig.app.json",
  23. "assets": [
  24. {
  25. "glob": "**/*",
  26. "input": "public"
  27. }
  28. ],
  29. "styles": [
  30. "src/styles.css"
  31. ],
  32. "scripts": [
  33. ]
  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. "optimization": false,
  53. "extractLicenses": false,
  54. "sourceMap": true
  55. }
  56. },
  57. "defaultConfiguration": "production"
  58. },
  59. "serve": {
  60. "builder": "@angular-devkit/build-angular:dev-server",
  61. "configurations": {
  62. "production": {
  63. "buildTarget": "rvc:build:production"
  64. },
  65. "development": {
  66. "buildTarget": "rvc:build:development"
  67. }
  68. },
  69. "defaultConfiguration": "development"
  70. },
  71. "extract-i18n": {
  72. "builder": "@angular-devkit/build-angular:extract-i18n"
  73. },
  74. "test": {
  75. "builder": "@angular-devkit/build-angular:karma",
  76. "options": {
  77. "polyfills": [
  78. "zone.js",
  79. "zone.js/testing"
  80. ],
  81. "tsConfig": "tsconfig.spec.json",
  82. "assets": [
  83. {
  84. "glob": "**/*",
  85. "input": "public"
  86. }
  87. ],
  88. "styles": [
  89. "src/styles.css"
  90. ],
  91. "scripts": [
  92. ]
  93. }
  94. }
  95. }
  96. }
  97. },
  98. "cli": {
  99. "analytics": false
  100. }
  101. }