angular.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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. "src/manifest.webmanifest"
  33. ],
  34. "styles": [
  35. "angularlib/styles/main.theme.scss",
  36. "angularlib/styles/pink.theme.scss",
  37. "src/styles.scss"
  38. ],
  39. "scripts": []
  40. },
  41. "configurations": {
  42. "production": {
  43. "budgets": [
  44. {
  45. "type": "initial",
  46. "maximumWarning": "5000kb",
  47. "maximumError": "6mb"
  48. },
  49. {
  50. "type": "anyComponentStyle",
  51. "maximumWarning": "6kb",
  52. "maximumError": "8kb"
  53. }
  54. ],
  55. "outputHashing": "all"
  56. },
  57. "development": {
  58. "optimization": false,
  59. "extractLicenses": false,
  60. "sourceMap": true,
  61. "assets": [
  62. "src/favicon.ico",
  63. "src/assets",
  64. "src/config",
  65. "src/manifest.webmanifest",
  66. {
  67. "input": "src/src.test",
  68. "output": "",
  69. "glob": "*/*"
  70. },
  71. {
  72. "input": "src/src.test/assets/icons",
  73. "output": "assets/icons",
  74. "glob": "*.png"
  75. }
  76. ],
  77. "fileReplacements": [
  78. {
  79. "replace": "src/dependencies/dp-ui/socket/ngxSocket.service.ts",
  80. "with":"src/dependencies/dp-ui/socket/ngxSocket.service.t.ts"
  81. },
  82. {
  83. "replace": "src/dependencies/dp-ui/dp.service.ts",
  84. "with":"src/dependencies/dp-ui/dp.service.t.ts"
  85. },
  86. {
  87. "replace": "src/dependencies/angularlib/environments/environment.ts",
  88. "with":"src/dependencies/angularlib/environments/environment.t.ts"
  89. }
  90. ]
  91. }
  92. },
  93. "defaultConfiguration": "development"
  94. },
  95. "serve": {
  96. "builder": "@angular-devkit/build-angular:dev-server",
  97. "configurations": {
  98. "production": {
  99. "buildTarget": "fisapp-ui:build:production"
  100. },
  101. "development": {
  102. "buildTarget": "fisapp-ui:build:development"
  103. }
  104. },
  105. "defaultConfiguration": "development"
  106. },
  107. "extract-i18n": {
  108. "builder": "@angular-devkit/build-angular:extract-i18n",
  109. "options": {
  110. "buildTarget": "fisapp-ui:build"
  111. }
  112. },
  113. "test": {
  114. "builder": "@angular-devkit/build-angular:karma",
  115. "options": {
  116. "polyfills": [
  117. "zone.js",
  118. "zone.js/testing"
  119. ],
  120. "tsConfig": "tsconfig.spec.json",
  121. "inlineStyleLanguage": "scss",
  122. "assets": [
  123. "src/favicon.ico",
  124. "src/assets"
  125. ],
  126. "styles": [
  127. "src/styles.scss"
  128. ],
  129. "scripts": []
  130. }
  131. }
  132. }
  133. }
  134. },
  135. "cli": {
  136. "analytics": false
  137. }
  138. }