angular.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "sam": {
  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/sam",
  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. "@angular/material/prebuilt-themes/azure-blue.css",
  41. "src/styles.css"
  42. ],
  43. "scripts": []
  44. },
  45. "configurations": {
  46. "production": {
  47. "budgets": [
  48. {
  49. "type": "initial",
  50. "maximumWarning": "500kB",
  51. "maximumError": "1MB"
  52. },
  53. {
  54. "type": "anyComponentStyle",
  55. "maximumWarning": "2kB",
  56. "maximumError": "4kB"
  57. }
  58. ],
  59. "outputHashing": "all"
  60. },
  61. "development": {
  62. "optimization": false,
  63. "extractLicenses": false,
  64. "sourceMap": true
  65. }
  66. },
  67. "defaultConfiguration": "production"
  68. },
  69. "serve": {
  70. "builder": "@angular-devkit/build-angular:dev-server",
  71. "configurations": {
  72. "production": {
  73. "buildTarget": "sam:build:production"
  74. },
  75. "development": {
  76. "buildTarget": "sam:build:development"
  77. }
  78. },
  79. "defaultConfiguration": "development"
  80. },
  81. "extract-i18n": {
  82. "builder": "@angular-devkit/build-angular:extract-i18n"
  83. },
  84. "test": {
  85. "builder": "@angular-devkit/build-angular:karma",
  86. "options": {
  87. "polyfills": [
  88. "zone.js",
  89. "zone.js/testing"
  90. ],
  91. "tsConfig": "tsconfig.spec.json",
  92. "assets": [
  93. {
  94. "glob": "**/*",
  95. "input": "public"
  96. }
  97. ],
  98. "styles": [
  99. "@angular/material/prebuilt-themes/azure-blue.css",
  100. "src/styles.css"
  101. ],
  102. "scripts": []
  103. }
  104. }
  105. }
  106. }
  107. },
  108. "cli": {
  109. "analytics": "b325aaf5-806e-4f8e-b27d-3dc2f788d879",
  110. "cache": {
  111. "enabled": false
  112. }
  113. }
  114. }