You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

124 lines
3.7KB

  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "iot-web-ui": {
  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/lot-web-ui",
  21. "index": "src/index.html",
  22. "main": "src/main.ts",
  23. "polyfills": [
  24. "zone.js"
  25. ],
  26. "tsConfig": "tsconfig.app.json",
  27. "inlineStyleLanguage": "scss",
  28. "assets": [
  29. "src/favicon.ico",
  30. "src/assets",
  31. "src/server"
  32. ],
  33. "styles": [
  34. "@angular/material/prebuilt-themes/indigo-pink.css",
  35. "src/styles.scss",
  36. "node_modules/leaflet/dist/leaflet.css",
  37. "node_modules/leaflet.markercluster/dist/MarkerCluster.Default.css",
  38. "node_modules/leaflet.markercluster/dist/MarkerCluster.css",
  39. "node_modules/ngx-toastr/toastr.css"
  40. ],
  41. "scripts": [],
  42. "allowedCommonJsDependencies": [
  43. "leaflet",
  44. "leaflet.markercluster",
  45. "mqtt-browser",
  46. "rtsp-relay/browser"
  47. ]
  48. },
  49. "configurations": {
  50. "production": {
  51. "budgets": [
  52. {
  53. "type": "initial",
  54. "maximumWarning": "1mb",
  55. "maximumError": "1mb"
  56. },
  57. {
  58. "type": "anyComponentStyle",
  59. "maximumWarning": "1mb",
  60. "maximumError": "1mb"
  61. }
  62. ],
  63. "outputHashing": "all"
  64. },
  65. "development": {
  66. "buildOptimizer": true,
  67. "optimization": true,
  68. "vendorChunk": true,
  69. "extractLicenses": false,
  70. "sourceMap": true,
  71. "namedChunks": true
  72. }
  73. },
  74. "defaultConfiguration": "production"
  75. },
  76. "serve": {
  77. "builder": "@angular-devkit/build-angular:dev-server",
  78. "configurations": {
  79. "production": {
  80. "browserTarget": "iot-web-ui:build:production"
  81. },
  82. "development": {
  83. "browserTarget": "iot-web-ui:build:development"
  84. }
  85. },
  86. "defaultConfiguration": "development"
  87. },
  88. "extract-i18n": {
  89. "builder": "@angular-devkit/build-angular:extract-i18n",
  90. "options": {
  91. "browserTarget": "iot-web-ui:build"
  92. }
  93. },
  94. "test": {
  95. "builder": "@angular-devkit/build-angular:karma",
  96. "options": {
  97. "polyfills": [
  98. "zone.js",
  99. "zone.js/testing"
  100. ],
  101. "tsConfig": "tsconfig.spec.json",
  102. "inlineStyleLanguage": "scss",
  103. "assets": [
  104. "src/favicon.ico",
  105. "src/assets"
  106. ],
  107. "styles": [
  108. "@angular/material/prebuilt-themes/indigo-pink.css",
  109. "src/styles.scss",
  110. "node_modules/leaflet/dist/leaflet.css",
  111. "node_modules/leaflet.markercluster/dist/MarkerCluster.Default.css",
  112. "node_modules/leaflet.markercluster/dist/MarkerCluster.css"
  113. ],
  114. "scripts": []
  115. }
  116. }
  117. }
  118. }
  119. },
  120. "cli": {
  121. "analytics": "960e5649-15d7-4fcf-9966-5b6a0886ca48"
  122. }
  123. }