angular.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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/build: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. "node_modules/luckysheet/dist/plugins/js/plugin.js",
  45. "node_modules/luckysheet/dist/luckysheet.umd.js"
  46. ]
  47. },
  48. "configurations": {
  49. "production": {
  50. "budgets": [
  51. {
  52. "type": "initial",
  53. "maximumWarning": "500kB",
  54. "maximumError": "1MB"
  55. },
  56. {
  57. "type": "anyComponentStyle",
  58. "maximumWarning": "2kB",
  59. "maximumError": "4kB"
  60. }
  61. ],
  62. "outputHashing": "all"
  63. },
  64. "development": {
  65. "optimization": false,
  66. "extractLicenses": false,
  67. "sourceMap": true
  68. }
  69. },
  70. "defaultConfiguration": "production"
  71. },
  72. "serve": {
  73. "builder": "@angular/build:dev-server",
  74. "configurations": {
  75. "production": {
  76. "buildTarget": "sam:build:production"
  77. },
  78. "development": {
  79. "buildTarget": "sam:build:development"
  80. }
  81. },
  82. "defaultConfiguration": "development"
  83. },
  84. "extract-i18n": {
  85. "builder": "@angular/build:extract-i18n"
  86. },
  87. "test": {
  88. "builder": "@angular/build:karma",
  89. "options": {
  90. "polyfills": [
  91. "zone.js",
  92. "zone.js/testing"
  93. ],
  94. "tsConfig": "tsconfig.spec.json",
  95. "assets": [
  96. {
  97. "glob": "**/*",
  98. "input": "public"
  99. }
  100. ],
  101. "styles": [
  102. "@angular/material/prebuilt-themes/azure-blue.css",
  103. "src/styles.css"
  104. ],
  105. "scripts": []
  106. }
  107. }
  108. }
  109. }
  110. },
  111. "cli": {
  112. "analytics": "b325aaf5-806e-4f8e-b27d-3dc2f788d879",
  113. "cache": {
  114. "enabled": false
  115. }
  116. },
  117. "schematics": {
  118. "@schematics/angular:component": {
  119. "type": "component"
  120. },
  121. "@schematics/angular:directive": {
  122. "type": "directive"
  123. },
  124. "@schematics/angular:service": {
  125. "type": "service"
  126. },
  127. "@schematics/angular:guard": {
  128. "typeSeparator": "."
  129. },
  130. "@schematics/angular:interceptor": {
  131. "typeSeparator": "."
  132. },
  133. "@schematics/angular:module": {
  134. "typeSeparator": "."
  135. },
  136. "@schematics/angular:pipe": {
  137. "typeSeparator": "."
  138. },
  139. "@schematics/angular:resolver": {
  140. "typeSeparator": "."
  141. }
  142. }
  143. }