angular.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "ai-assisant": {
  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. "polyfills": [
  22. "zone.js"
  23. ],
  24. "tsConfig": "tsconfig.app.json",
  25. "inlineStyleLanguage": "scss",
  26. "assets": [
  27. {
  28. "glob": "**/*",
  29. "input": "public"
  30. }
  31. ],
  32. "styles": [
  33. "@angular/material/prebuilt-themes/azure-blue.css",
  34. "src/styles.scss"
  35. ]
  36. },
  37. "configurations": {
  38. "production": {
  39. "budgets": [
  40. {
  41. "type": "initial",
  42. "maximumWarning": "500kB",
  43. "maximumError": "1MB"
  44. },
  45. {
  46. "type": "anyComponentStyle",
  47. "maximumWarning": "4kB",
  48. "maximumError": "8kB"
  49. }
  50. ],
  51. "outputHashing": "all"
  52. },
  53. "development": {
  54. "optimization": false,
  55. "extractLicenses": false,
  56. "sourceMap": true
  57. }
  58. },
  59. "defaultConfiguration": "production"
  60. },
  61. "serve": {
  62. "builder": "@angular/build:dev-server",
  63. "configurations": {
  64. "production": {
  65. "buildTarget": "ai-assisant:build:production"
  66. },
  67. "development": {
  68. "buildTarget": "ai-assisant:build:development"
  69. }
  70. },
  71. "defaultConfiguration": "development"
  72. },
  73. "extract-i18n": {
  74. "builder": "@angular/build:extract-i18n"
  75. },
  76. "test": {
  77. "builder": "@angular/build:karma",
  78. "options": {
  79. "polyfills": [
  80. "zone.js",
  81. "zone.js/testing"
  82. ],
  83. "tsConfig": "tsconfig.spec.json",
  84. "inlineStyleLanguage": "scss",
  85. "assets": [
  86. {
  87. "glob": "**/*",
  88. "input": "public"
  89. }
  90. ],
  91. "styles": [
  92. "@angular/material/prebuilt-themes/azure-blue.css",
  93. "src/styles.scss",
  94. {
  95. "input": "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap",
  96. "inject": true,
  97. "bundleName": "inter-font"
  98. }
  99. ],
  100. "styles": [
  101. "src/styles.scss",
  102. {
  103. "input": "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap",
  104. "inject": true,
  105. "bundleName": "inter-font"
  106. }
  107. ]
  108. }
  109. }
  110. }
  111. }
  112. }
  113. }