angular.json 2.5 KB

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