angular.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "interview-web": {
  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. "src/styles.scss"
  34. ]
  35. },
  36. "configurations": {
  37. "production": {
  38. "budgets": [
  39. {
  40. "type": "initial",
  41. "maximumWarning": "500kB",
  42. "maximumError": "1MB"
  43. },
  44. {
  45. "type": "anyComponentStyle",
  46. "maximumWarning": "4kB",
  47. "maximumError": "8kB"
  48. }
  49. ],
  50. "outputHashing": "all"
  51. },
  52. "development": {
  53. "optimization": false,
  54. "extractLicenses": false,
  55. "sourceMap": true
  56. }
  57. },
  58. "defaultConfiguration": "production"
  59. },
  60. "serve": {
  61. "builder": "@angular/build:dev-server",
  62. "configurations": {
  63. "production": {
  64. "buildTarget": "interview-web:build:production"
  65. },
  66. "development": {
  67. "buildTarget": "interview-web:build:development"
  68. }
  69. },
  70. "defaultConfiguration": "development"
  71. },
  72. "extract-i18n": {
  73. "builder": "@angular/build:extract-i18n"
  74. },
  75. "test": {
  76. "builder": "@angular/build:karma",
  77. "options": {
  78. "polyfills": [
  79. "zone.js",
  80. "zone.js/testing"
  81. ],
  82. "tsConfig": "tsconfig.spec.json",
  83. "inlineStyleLanguage": "scss",
  84. "assets": [
  85. {
  86. "glob": "**/*",
  87. "input": "public"
  88. }
  89. ],
  90. "styles": [
  91. "src/styles.scss"
  92. ]
  93. }
  94. }
  95. }
  96. }
  97. }
  98. }