angular.json 3.0 KB

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