angular.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "yss-project": {
  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. "externalDependencies": [
  27. "echarts"
  28. ],
  29. "assets": [
  30. {
  31. "glob": "**/*",
  32. "input": "public"
  33. }
  34. ],
  35. "styles": [
  36. "src/styles.scss"
  37. ]
  38. },
  39. "configurations": {
  40. "production": {
  41. "budgets": [
  42. {
  43. "type": "initial",
  44. "maximumWarning": "2MB",
  45. "maximumError": "5MB"
  46. },
  47. {
  48. "type": "anyComponentStyle",
  49. "maximumWarning": "50kB",
  50. "maximumError": "100kB"
  51. }
  52. ],
  53. "outputHashing": "all"
  54. },
  55. "development": {
  56. "optimization": false,
  57. "extractLicenses": false,
  58. "sourceMap": true
  59. }
  60. },
  61. "defaultConfiguration": "production"
  62. },
  63. "serve": {
  64. "builder": "@angular/build:dev-server",
  65. "configurations": {
  66. "production": {
  67. "buildTarget": "yss-project:build:production"
  68. },
  69. "development": {
  70. "buildTarget": "yss-project:build:development"
  71. }
  72. },
  73. "defaultConfiguration": "development"
  74. },
  75. "extract-i18n": {
  76. "builder": "@angular/build:extract-i18n"
  77. },
  78. "test": {
  79. "builder": "@angular/build:karma",
  80. "options": {
  81. "polyfills": [
  82. "zone.js",
  83. "zone.js/testing"
  84. ],
  85. "tsConfig": "tsconfig.spec.json",
  86. "inlineStyleLanguage": "scss",
  87. "assets": [
  88. {
  89. "glob": "**/*",
  90. "input": "public"
  91. }
  92. ],
  93. "styles": [
  94. "src/styles.scss"
  95. ]
  96. }
  97. },
  98. "lint": {
  99. "builder": "@angular-eslint/builder:lint",
  100. "options": {
  101. "lintFilePatterns": [
  102. "src/**/*.ts",
  103. "src/**/*.html"
  104. ]
  105. }
  106. }
  107. }
  108. }
  109. },
  110. "cli": {
  111. "schematicCollections": [
  112. "angular-eslint"
  113. ]
  114. }
  115. }