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.

121 lines
3.6KB

  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. ]
  45. },
  46. "configurations": {
  47. "production": {
  48. "budgets": [
  49. {
  50. "type": "initial",
  51. "maximumWarning": "1mb",
  52. "maximumError": "1mb"
  53. },
  54. {
  55. "type": "anyComponentStyle",
  56. "maximumWarning": "1mb",
  57. "maximumError": "1mb"
  58. }
  59. ],
  60. "outputHashing": "all"
  61. },
  62. "development": {
  63. "buildOptimizer": true,
  64. "optimization": true,
  65. "vendorChunk": true,
  66. "extractLicenses": false,
  67. "sourceMap": true,
  68. "namedChunks": true
  69. }
  70. },
  71. "defaultConfiguration": "production"
  72. },
  73. "serve": {
  74. "builder": "@angular-devkit/build-angular:dev-server",
  75. "configurations": {
  76. "production": {
  77. "browserTarget": "iot-web-ui:build:production"
  78. },
  79. "development": {
  80. "browserTarget": "iot-web-ui:build:development"
  81. }
  82. },
  83. "defaultConfiguration": "development"
  84. },
  85. "extract-i18n": {
  86. "builder": "@angular-devkit/build-angular:extract-i18n",
  87. "options": {
  88. "browserTarget": "iot-web-ui:build"
  89. }
  90. },
  91. "test": {
  92. "builder": "@angular-devkit/build-angular:karma",
  93. "options": {
  94. "polyfills": [
  95. "zone.js",
  96. "zone.js/testing"
  97. ],
  98. "tsConfig": "tsconfig.spec.json",
  99. "inlineStyleLanguage": "scss",
  100. "assets": [
  101. "src/favicon.ico",
  102. "src/assets"
  103. ],
  104. "styles": [
  105. "@angular/material/prebuilt-themes/indigo-pink.css",
  106. "src/styles.scss",
  107. "node_modules/leaflet/dist/leaflet.css",
  108. "node_modules/leaflet.markercluster/dist/MarkerCluster.Default.css",
  109. "node_modules/leaflet.markercluster/dist/MarkerCluster.css"
  110. ],
  111. "scripts": []
  112. }
  113. }
  114. }
  115. }
  116. },
  117. "cli": {
  118. "analytics": "960e5649-15d7-4fcf-9966-5b6a0886ca48"
  119. }
  120. }