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. "fisapp-ui": {
  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-devkit/build-angular:application",
  19. "options": {
  20. "outputPath": "dist/fisapp-ui",
  21. "index": "src/index.html",
  22. "browser": "src/main.ts",
  23. "polyfills": [
  24. "zone.js"
  25. ],
  26. "tsConfig": "tsconfig.app.json",
  27. "inlineStyleLanguage": "scss",
  28. "assets": [
  29. "src/favicon.ico",
  30. "src/assets",
  31. "src/config"
  32. ],
  33. "styles": [
  34. "angularlib/styles/main.theme.scss",
  35. "angularlib/styles/pink.theme.scss",
  36. "src/styles.scss"
  37. ],
  38. "scripts": []
  39. },
  40. "configurations": {
  41. "production": {
  42. "budgets": [
  43. {
  44. "type": "initial",
  45. "maximumWarning": "5000kb",
  46. "maximumError": "6mb"
  47. },
  48. {
  49. "type": "anyComponentStyle",
  50. "maximumWarning": "6kb",
  51. "maximumError": "8kb"
  52. }
  53. ],
  54. "outputHashing": "all"
  55. },
  56. "development": {
  57. "optimization": false,
  58. "extractLicenses": false,
  59. "sourceMap": true,
  60. "fileReplacements": [
  61. {
  62. "replace": "src/dependencies/dp-ui/dp.comm.ts",
  63. "with":"src/dependencies/dp-ui/dp.comm.test.ts"
  64. }
  65. ]
  66. }
  67. },
  68. "defaultConfiguration": "development"
  69. },
  70. "serve": {
  71. "builder": "@angular-devkit/build-angular:dev-server",
  72. "configurations": {
  73. "production": {
  74. "buildTarget": "fisapp-ui:build:production"
  75. },
  76. "development": {
  77. "buildTarget": "fisapp-ui:build:development"
  78. }
  79. },
  80. "defaultConfiguration": "development"
  81. },
  82. "extract-i18n": {
  83. "builder": "@angular-devkit/build-angular:extract-i18n",
  84. "options": {
  85. "buildTarget": "fisapp-ui:build"
  86. }
  87. },
  88. "test": {
  89. "builder": "@angular-devkit/build-angular:karma",
  90. "options": {
  91. "polyfills": [
  92. "zone.js",
  93. "zone.js/testing"
  94. ],
  95. "tsConfig": "tsconfig.spec.json",
  96. "inlineStyleLanguage": "scss",
  97. "assets": [
  98. "src/favicon.ico",
  99. "src/assets"
  100. ],
  101. "styles": [
  102. "src/styles.scss"
  103. ],
  104. "scripts": []
  105. }
  106. }
  107. }
  108. }
  109. },
  110. "cli": {
  111. "analytics": false
  112. }
  113. }