You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

angular.json 2.7KB

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