angular.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "FinanceWeb": {
  7. "projectType": "application",
  8. "schematics": {
  9. "@schematics/angular:application": {
  10. "strict": true
  11. }
  12. },
  13. "root": "",
  14. "sourceRoot": "src",
  15. "prefix": "app",
  16. "architect": {
  17. "build": {
  18. "builder": "@angular-devkit/build-angular:browser",
  19. "options": {
  20. "outputPath": "dist/FinanceWeb",
  21. "index": "src/index.html",
  22. "main": "src/main.ts",
  23. "polyfills": "src/polyfills.ts",
  24. "tsConfig": "tsconfig.app.json",
  25. "assets": [
  26. "src/favicon.ico",
  27. "src/assets",
  28. {
  29. "glob": "**/*",
  30. "input": "./node_modules/@ant-design/icons-angular/src/inline-svg/",
  31. "output": "/assets/"
  32. }
  33. ],
  34. "styles": [
  35. "src/theme.less",
  36. "src/styles.css"
  37. ],
  38. "scripts": []
  39. },
  40. "configurations": {
  41. "production": {
  42. "budgets": [
  43. {
  44. "type": "initial",
  45. "maximumWarning": "500kb",
  46. "maximumError": "1mb"
  47. },
  48. {
  49. "type": "anyComponentStyle",
  50. "maximumWarning": "2kb",
  51. "maximumError": "4kb"
  52. }
  53. ],
  54. "fileReplacements": [
  55. {
  56. "replace": "src/environments/environment.ts",
  57. "with": "src/environments/environment.prod.ts"
  58. }
  59. ],
  60. "outputHashing": "all"
  61. },
  62. "development": {
  63. "buildOptimizer": false,
  64. "optimization": false,
  65. "vendorChunk": true,
  66. "extractLicenses": false,
  67. "sourceMap": true,
  68. "namedChunks": true
  69. }
  70. },
  71. "defaultConfiguration": "production"
  72. },
  73. "serve": {
  74. "builder": "@angular-devkit/build-angular:dev-server",
  75. "configurations": {
  76. "production": {
  77. "browserTarget": "FinanceWeb:build:production"
  78. },
  79. "development": {
  80. "browserTarget": "FinanceWeb:build:development"
  81. }
  82. },
  83. "defaultConfiguration": "development"
  84. },
  85. "extract-i18n": {
  86. "builder": "@angular-devkit/build-angular:extract-i18n",
  87. "options": {
  88. "browserTarget": "FinanceWeb:build"
  89. }
  90. },
  91. "test": {
  92. "builder": "@angular-devkit/build-angular:karma",
  93. "options": {
  94. "main": "src/test.ts",
  95. "polyfills": "src/polyfills.ts",
  96. "tsConfig": "tsconfig.spec.json",
  97. "karmaConfig": "karma.conf.js",
  98. "assets": [
  99. "src/favicon.ico",
  100. "src/assets"
  101. ],
  102. "styles": [
  103. "src/styles.css"
  104. ],
  105. "scripts": []
  106. }
  107. }
  108. }
  109. }
  110. },
  111. "defaultProject": "FinanceWeb"
  112. }