angular.json 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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. {
  34. "glob": "**/*",
  35. "input": "node_modules/ngx-extended-pdf-viewer/assets/",
  36. "output": "/assets/"
  37. },
  38. {
  39. "glob": "**/*",
  40. "input": "node_modules/ngx-extended-pdf-viewer/bleeding-edge/",
  41. "output": "/bleeding-edge/"
  42. },
  43. "src/index.html"
  44. ],
  45. "styles": [
  46. "src/app/core/preloader/preloader.scss",
  47. "src/styles.scss",
  48. "src/assets/common/laydate-5.0.9/theme/default/laydate.css"
  49. ],
  50. "scripts": [
  51. "node_modules/jquery/dist/jquery.min.js",
  52. "src/app/core/preloader/preloader.js",
  53. "node_modules/chart.js/dist/Chart.bundle.js",
  54. "node_modules/popper.js/dist/umd/popper.min.js",
  55. "node_modules/bootstrap/js/dist/util.js",
  56. "node_modules/bootstrap/js/dist/modal.js",
  57. "node_modules/bootstrap/js/dist/dropdown.js",
  58. "node_modules/bootstrap/js/dist/tooltip.js",
  59. "node_modules/summernote/dist/summernote.js",
  60. "node_modules/moment/min/moment-with-locales.min.js",
  61. "node_modules/echarts/dist/echarts.min.js",
  62. "src/assets/common/laydate-5.0.9/laydate.js",
  63. "src/assets/common/quagga.min.js",
  64. "src/assets/common/renderer.js",
  65. "src/assets/common/jq-signature.js"
  66. ]
  67. },
  68. "configurations": {
  69. "production": {
  70. "fileReplacements": [
  71. {
  72. "replace": "src/environments/environment.ts",
  73. "with": "src/environments/environment.prod.ts"
  74. }
  75. ],
  76. "optimization": true,
  77. "outputHashing": "all",
  78. "sourceMap": false,
  79. "extractCss": true,
  80. "namedChunks": false,
  81. "extractLicenses": true,
  82. "vendorChunk": false,
  83. "buildOptimizer": false,
  84. "budgets": [
  85. {
  86. "type": "initial",
  87. "maximumWarning": "6mb",
  88. "maximumError": "6mb"
  89. },
  90. {
  91. "type": "anyComponentStyle",
  92. "maximumWarning": "10kb",
  93. "maximumError": "20kb"
  94. }
  95. ]
  96. }
  97. }
  98. },
  99. "serve": {
  100. "builder": "@angular-devkit/build-angular:dev-server",
  101. "options": {
  102. "browserTarget": "ArtWeb-V3:build"
  103. },
  104. "configurations": {
  105. "production": {
  106. "browserTarget": "ArtWeb-V3:build:production"
  107. }
  108. }
  109. },
  110. "extract-i18n": {
  111. "builder": "@angular-devkit/build-angular:extract-i18n",
  112. "options": {
  113. "browserTarget": "ArtWeb-V3:build"
  114. }
  115. },
  116. "test": {
  117. "builder": "@angular-devkit/build-angular:karma",
  118. "options": {
  119. "main": "src/test.ts",
  120. "polyfills": "src/polyfills.ts",
  121. "tsConfig": "tsconfig.spec.json",
  122. "karmaConfig": "karma.conf.js",
  123. "assets": [
  124. "src/favicon.ico",
  125. "src/assets"
  126. ],
  127. "styles": [
  128. "src/app/core/preloader/preloader.scss",
  129. "src/styles.scss",
  130. "node_modules/summernote/dist/summernote-lite.min.css"
  131. ],
  132. "scripts": [
  133. "node_modules/jquery/dist/jquery.js",
  134. "src/app/core/preloader/preloader.js",
  135. "node_modules/chart.js/dist/Chart.bundle.js",
  136. "node_modules/bootstrap/js/dist/util.js",
  137. "node_modules/bootstrap/js/dist/modal.js",
  138. "node_modules/bootstrap/js/dist/dropdown.js",
  139. "node_modules/bootstrap/js/dist/tooltip.js",
  140. "node_modules/summernote/dist/summernote.js",
  141. "node_modules/moment/min/moment-with-locales.min.js",
  142. "node_modules/summernote/dist/summernote-lite.min.js",
  143. "node_modules/ngx-extended-pdf-viewer/assets/pdf.js",
  144. "node_modules/ngx-extended-pdf-viewer/assets/viewer.js"
  145. ]
  146. }
  147. },
  148. "lint": {
  149. "builder": "@angular-devkit/build-angular:tslint",
  150. "options": {
  151. "tsConfig": [
  152. "tsconfig.app.json",
  153. "tsconfig.spec.json",
  154. "e2e/tsconfig.json"
  155. ],
  156. "exclude": [
  157. "**/node_modules/**"
  158. ]
  159. }
  160. },
  161. "e2e": {
  162. "builder": "@angular-devkit/build-angular:protractor",
  163. "options": {
  164. "protractorConfig": "e2e/protractor.conf.js",
  165. "devServerTarget": "ArtWeb-V3:serve"
  166. },
  167. "configurations": {
  168. "production": {
  169. "devServerTarget": "ArtWeb-V3:serve:production"
  170. }
  171. }
  172. }
  173. }
  174. }
  175. },
  176. "defaultProject": "ArtWeb-V3",
  177. "cli": {
  178. "analytics": false
  179. }
  180. }