Broker System for Supercredit
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

135 lines
3.8KB

  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "broker": {
  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:browser",
  19. "options": {
  20. "outputPath": "dist/broker",
  21. "index": "src/index.html",
  22. "main": "src/main.ts",
  23. "polyfills": "src/polyfills.ts",
  24. "tsConfig": "tsconfig.app.json",
  25. "aot": true,
  26. "assets": [
  27. "src/favicon.ico",
  28. "src/assets"
  29. ],
  30. "styles": [
  31. {
  32. "input": "node_modules/@progress/kendo-theme-default/dist/all.css"
  33. },
  34. "src/styles.scss"
  35. ],
  36. "scripts": []
  37. },
  38. "configurations": {
  39. "production": {
  40. "fileReplacements": [
  41. {
  42. "replace": "src/environments/environment.ts",
  43. "with": "src/environments/environment.prod.ts"
  44. }
  45. ],
  46. "optimization": true,
  47. "outputHashing": "all",
  48. "sourceMap": false,
  49. "extractCss": true,
  50. "namedChunks": false,
  51. "extractLicenses": true,
  52. "vendorChunk": false,
  53. "buildOptimizer": true,
  54. "budgets": [
  55. {
  56. "type": "initial",
  57. "maximumWarning": "2mb",
  58. "maximumError": "5mb"
  59. },
  60. {
  61. "type": "anyComponentStyle",
  62. "maximumWarning": "6kb",
  63. "maximumError": "10kb"
  64. }
  65. ]
  66. }
  67. }
  68. },
  69. "serve": {
  70. "builder": "@angular-devkit/build-angular:dev-server",
  71. "options": {
  72. "browserTarget": "broker:build"
  73. },
  74. "configurations": {
  75. "production": {
  76. "browserTarget": "broker:build:production"
  77. }
  78. }
  79. },
  80. "extract-i18n": {
  81. "builder": "@angular-devkit/build-angular:extract-i18n",
  82. "options": {
  83. "browserTarget": "broker:build"
  84. }
  85. },
  86. "test": {
  87. "builder": "@angular-devkit/build-angular:karma",
  88. "options": {
  89. "main": "src/test.ts",
  90. "polyfills": "src/polyfills.ts",
  91. "tsConfig": "tsconfig.spec.json",
  92. "karmaConfig": "karma.conf.js",
  93. "assets": [
  94. "src/favicon.ico",
  95. "src/assets"
  96. ],
  97. "styles": [
  98. {
  99. "input": "node_modules/@progress/kendo-theme-default/dist/all.css"
  100. },
  101. "src/styles.scss"
  102. ],
  103. "scripts": []
  104. }
  105. },
  106. "lint": {
  107. "builder": "@angular-devkit/build-angular:tslint",
  108. "options": {
  109. "tsConfig": [
  110. "tsconfig.app.json",
  111. "tsconfig.spec.json",
  112. "e2e/tsconfig.json"
  113. ],
  114. "exclude": [
  115. "**/node_modules/**"
  116. ]
  117. }
  118. },
  119. "e2e": {
  120. "builder": "@angular-devkit/build-angular:protractor",
  121. "options": {
  122. "protractorConfig": "e2e/protractor.conf.js",
  123. "devServerTarget": "broker:serve"
  124. },
  125. "configurations": {
  126. "production": {
  127. "devServerTarget": "broker:serve:production"
  128. }
  129. }
  130. }
  131. }
  132. }
  133. },
  134. "defaultProject": "broker"
  135. }