angular.json 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. {
  2. "$schema": "./node_modules/@angular/cl/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "ArtWeb-V3": {
  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. "allowedCommonJsDependencies": [
  21. "lodash"
  22. ],
  23. "preserveSymlinks": true,
  24. "outputPath": "dist",
  25. "index": "src/frame.html",
  26. "main": "src/main.ts",
  27. "polyfills": "src/polyfills.ts",
  28. "tsConfig": "tsconfig.app.json",
  29. "aot": false,
  30. "assets": [
  31. "src/favicon.ico",
  32. "src/assets",
  33. "src/index.html"
  34. ],
  35. "styles": [
  36. "src/app/core/preloader/preloader.scss",
  37. "src/styles.scss",
  38. "src/assets/common/laydate-5.0.9/theme/default/laydate.css"
  39. ],
  40. "scripts": [
  41. "node_modules/jquery/dist/jquery.min.js",
  42. "src/app/core/preloader/preloader.js",
  43. "node_modules/chart.js/dist/Chart.bundle.js",
  44. "node_modules/bootstrap/js/dist/util.js",
  45. "node_modules/bootstrap/js/dist/modal.js",
  46. "node_modules/bootstrap/js/dist/dropdown.js",
  47. "node_modules/bootstrap/js/dist/tooltip.js",
  48. "node_modules/summernote/dist/summernote.js",
  49. "node_modules/moment/min/moment-with-locales.min.js",
  50. "node_modules/echarts/dist/echarts.min.js",
  51. "src/assets/common/laydate-5.0.9/laydate.js",
  52. "src/assets/common/quagga.min.js",
  53. "src/assets/common/renderer.js",
  54. "src/assets/common/aliplayer/aliplayer.js"
  55. ]
  56. },
  57. "configurations": {
  58. "production": {
  59. "fileReplacements": [
  60. {
  61. "replace": "src/environments/environment.ts",
  62. "with": "src/environments/environment.prod.ts"
  63. }
  64. ],
  65. "optimization": true,
  66. "aot": true,
  67. "outputHashing": "all",
  68. "sourceMap": false,
  69. "extractCss": true,
  70. "namedChunks": false,
  71. "extractLicenses": true,
  72. "vendorChunk": false,
  73. "buildOptimizer": true,
  74. "budgets": [
  75. {
  76. "type": "initial",
  77. "maximumWarning": "3mb",
  78. "maximumError": "5mb"
  79. },
  80. {
  81. "type": "anyComponentStyle",
  82. "maximumWarning": "6kb",
  83. "maximumError": "10kb"
  84. }
  85. ]
  86. }
  87. }
  88. },
  89. "serve": {
  90. "builder": "@angular-devkit/build-angular:dev-server",
  91. "options": {
  92. "browserTarget": "ArtWeb-V3:build"
  93. },
  94. "configurations": {
  95. "production": {
  96. "browserTarget": "ArtWeb-V3:build:production"
  97. }
  98. }
  99. },
  100. "extract-i18n": {
  101. "builder": "@angular-devkit/build-angular:extract-i18n",
  102. "options": {
  103. "browserTarget": "ArtWeb-V3:build"
  104. }
  105. },
  106. "test": {
  107. "builder": "@angular-devkit/build-angular:karma",
  108. "options": {
  109. "main": "src/test.ts",
  110. "polyfills": "src/polyfills.ts",
  111. "tsConfig": "tsconfig.spec.json",
  112. "karmaConfig": "karma.conf.js",
  113. "assets": [
  114. "src/favicon.ico",
  115. "src/assets"
  116. ],
  117. "styles": [
  118. "src/app/core/preloader/preloader.scss",
  119. "src/styles.scss"
  120. ],
  121. "scripts": [
  122. "node_modules/jquery/dist/jquery.js",
  123. "src/app/core/preloader/preloader.js",
  124. "node_modules/chart.js/dist/Chart.bundle.js",
  125. "node_modules/bootstrap/js/dist/util.js",
  126. "node_modules/bootstrap/js/dist/modal.js",
  127. "node_modules/bootstrap/js/dist/dropdown.js",
  128. "node_modules/bootstrap/js/dist/tooltip.js",
  129. "node_modules/summernote/dist/summernote.js",
  130. "node_modules/moment/min/moment-with-locales.min.js"
  131. ]
  132. }
  133. },
  134. "lint": {
  135. "builder": "@angular-devkit/build-angular:tslint",
  136. "options": {
  137. "tsConfig": [
  138. "tsconfig.app.json",
  139. "tsconfig.spec.json",
  140. "e2e/tsconfig.json"
  141. ],
  142. "exclude": [
  143. "**/node_modules/**"
  144. ]
  145. }
  146. },
  147. "e2e": {
  148. "builder": "@angular-devkit/build-angular:protractor",
  149. "options": {
  150. "protractorConfig": "e2e/protractor.conf.js",
  151. "devServerTarget": "ArtWeb-V3:serve"
  152. },
  153. "configurations": {
  154. "production": {
  155. "devServerTarget": "ArtWeb-V3:serve:production"
  156. }
  157. }
  158. }
  159. }
  160. }
  161. },
  162. "defaultProject": "ArtWeb-V3",
  163. "cli": {
  164. "analytics": false
  165. }
  166. }