angular.json 2.9 KB

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