angular.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "ai-interview": {
  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. "allowedCommonJsDependencies": [
  22. "@angular/common",
  23. "@angular/core",
  24. "@angular/compiler",
  25. "swiper",
  26. "echarts"
  27. ],
  28. "scripts": [
  29. "node_modules/swiper/swiper.min.js",
  30. "node_modules/echarts/dist/echarts.min.js"
  31. ],
  32. "polyfills": [
  33. "zone.js"
  34. ],
  35. "tsConfig": "tsconfig.app.json",
  36. "inlineStyleLanguage": "scss",
  37. "assets": [
  38. {
  39. "glob": "**/*",
  40. "input": "public"
  41. }
  42. ],
  43. "styles": [
  44. "node_modules/font-awesome/css/font-awesome.min.css",
  45. "node_modules/swiper/swiper-bundle.min.css",
  46. "node_modules/swiper/swiper.min.css",
  47. "@angular/material/prebuilt-themes/azure-blue.css",
  48. "node_modules/@fortawesome/fontawesome-free/css/all.min.css",
  49. "node_modules/animate.css/animate.min.css",
  50. "src/styles.scss",
  51. {
  52. "input": "https://cdn.bootcdn.net/ajax/libs/font-awesome/6.4.0/css/all.min.css",
  53. "inject": false,
  54. "bundleName": "font-awesome"
  55. },
  56. {
  57. "input": "https://cdn.bootcdn.net/ajax/libs/animate.css/4.1.1/animate.min.css",
  58. "inject": false,
  59. "bundleName": "animate-css"
  60. }
  61. ]
  62. },
  63. "configurations": {
  64. "production": {
  65. "budgets": [
  66. {
  67. "type": "initial",
  68. "maximumWarning": "2MB",
  69. "maximumError": "3MB"
  70. },
  71. {
  72. "type": "anyComponentStyle",
  73. "maximumWarning": "4kB",
  74. "maximumError": "8kB"
  75. }
  76. ],
  77. "outputHashing": "all"
  78. },
  79. "development": {
  80. "optimization": false,
  81. "extractLicenses": false,
  82. "sourceMap": true
  83. }
  84. },
  85. "defaultConfiguration": "production"
  86. },
  87. "serve": {
  88. "builder": "@angular/build:dev-server",
  89. "configurations": {
  90. "production": {
  91. "buildTarget": "ai-interview:build:production"
  92. },
  93. "development": {
  94. "buildTarget": "ai-interview:build:development"
  95. }
  96. },
  97. "defaultConfiguration": "development"
  98. },
  99. "extract-i18n": {
  100. "builder": "@angular/build:extract-i18n"
  101. },
  102. "test": {
  103. "builder": "@angular/build:karma",
  104. "options": {
  105. "polyfills": [
  106. "zone.js",
  107. "zone.js/testing"
  108. ],
  109. "tsConfig": "tsconfig.spec.json",
  110. "inlineStyleLanguage": "scss",
  111. "assets": [
  112. {
  113. "glob": "**/*",
  114. "input": "public"
  115. }
  116. ],
  117. "styles": [
  118. "@angular/material/prebuilt-themes/azure-blue.css",
  119. "src/styles.scss"
  120. ]
  121. }
  122. }
  123. }
  124. }
  125. }
  126. }