angular.json 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "evt-viewer-angular": {
  7. "projectType": "application",
  8. "schematics": {
  9. "@schematics/angular:component": {
  10. "style": "scss"
  11. }
  12. },
  13. "root": "",
  14. "sourceRoot": "src",
  15. "prefix": "evt",
  16. "architect": {
  17. "build": {
  18. "builder": "@angular-devkit/build-angular:browser",
  19. "options": {
  20. "outputPath": "dist/evt-viewer-angular",
  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. "node_modules/@ng-select/ng-select/themes/default.theme.css",
  32. "node_modules/prismjs/themes/prism.css",
  33. "src/styles.scss"
  34. ],
  35. "scripts": [
  36. "node_modules/jquery/dist/jquery.min.js",
  37. "node_modules/popper.js/dist/umd/popper.min.js",
  38. "node_modules/openseadragon/build/openseadragon/openseadragon.js",
  39. "node_modules/bootstrap/dist/js/bootstrap.js",
  40. "node_modules/prismjs/prism.js"
  41. ]
  42. },
  43. "configurations": {
  44. "production": {
  45. "fileReplacements": [
  46. {
  47. "replace": "src/environments/environment.ts",
  48. "with": "src/environments/environment.prod.ts"
  49. }
  50. ],
  51. "optimization": true,
  52. "outputHashing": "all",
  53. "sourceMap": false,
  54. "namedChunks": false,
  55. "extractLicenses": true,
  56. "vendorChunk": false,
  57. "buildOptimizer": true,
  58. "budgets": [
  59. {
  60. "type": "initial",
  61. "maximumWarning": "2mb",
  62. "maximumError": "5mb"
  63. },
  64. {
  65. "type": "anyComponentStyle",
  66. "maximumWarning": "6kb",
  67. "maximumError": "10kb"
  68. }
  69. ]
  70. }
  71. }
  72. },
  73. "serve": {
  74. "builder": "@angular-devkit/build-angular:dev-server",
  75. "options": {
  76. "browserTarget": "evt-viewer-angular:build"
  77. },
  78. "configurations": {
  79. "production": {
  80. "browserTarget": "evt-viewer-angular:build:production"
  81. }
  82. }
  83. },
  84. "extract-i18n": {
  85. "builder": "@angular-devkit/build-angular:extract-i18n",
  86. "options": {
  87. "browserTarget": "evt-viewer-angular:build"
  88. }
  89. },
  90. "test": {
  91. "builder": "@angular-devkit/build-angular:karma",
  92. "options": {
  93. "main": "src/test.ts",
  94. "polyfills": "src/polyfills.ts",
  95. "tsConfig": "tsconfig.spec.json",
  96. "karmaConfig": "karma.conf.js",
  97. "assets": [
  98. "src/favicon.ico",
  99. "src/assets"
  100. ],
  101. "styles": [
  102. "node_modules/@ng-select/ng-select/themes/default.theme.css",
  103. "node_modules/prismjs/themes/prism.css",
  104. "src/styles.scss"
  105. ],
  106. "scripts": [
  107. "node_modules/jquery/dist/jquery.min.js",
  108. "node_modules/popper.js/dist/umd/popper.min.js",
  109. "node_modules/bootstrap/dist/js/bootstrap.js",
  110. "node_modules/prismjs/prism.js"
  111. ]
  112. }
  113. },
  114. "lint": {
  115. "builder": "@angular-devkit/build-angular:tslint",
  116. "options": {
  117. "tsConfig": [
  118. "tsconfig.app.json",
  119. "tsconfig.spec.json",
  120. "e2e/tsconfig.json"
  121. ],
  122. "exclude": [
  123. "**/node_modules/**",
  124. "**/e2e/**",
  125. "**/*.spec.ts",
  126. "src/test.ts",
  127. "src/polyfills.ts",
  128. "src/environments/**"
  129. ]
  130. }
  131. },
  132. "e2e": {
  133. "builder": "@angular-devkit/build-angular:protractor",
  134. "options": {
  135. "protractorConfig": "e2e/protractor.conf.js",
  136. "devServerTarget": "evt-viewer-angular:serve"
  137. },
  138. "configurations": {
  139. "production": {
  140. "devServerTarget": "evt-viewer-angular:serve:production"
  141. }
  142. }
  143. }
  144. }
  145. }
  146. },
  147. "defaultProject": "evt-viewer-angular",
  148. "cli": {
  149. "analytics": "c373e515-eb44-4b1b-85c7-56dd668954af"
  150. }
  151. }