angular.json 2.8 KB

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