angular.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. "is": {
  10. "projectType": "application",
  11. "schematics": {},
  12. "root": "",
  13. "sourceRoot": "src",
  14. "prefix": "is",
  15. "architect": {
  16. "build": {
  17. "builder": "@angular/build:application",
  18. "options": {
  19. "browser": "src/main.ts",
  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": "is:build:production"
  60. },
  61. "development": {
  62. "buildTarget": "is:build:development"
  63. }
  64. },
  65. "defaultConfiguration": "development"
  66. },
  67. "test": {
  68. "builder": "@angular/build:unit-test"
  69. }
  70. }
  71. }
  72. }
  73. }