angular.json 2.4 KB

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