angular.json 5.6 KB

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