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.

107 lines
3.0KB

  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/iot-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. ],
  32. "styles": [
  33. "@angular/material/prebuilt-themes/indigo-pink.css",
  34. "src/styles.scss"
  35. ],
  36. "scripts": []
  37. },
  38. "configurations": {
  39. "production": {
  40. "budgets": [
  41. {
  42. "type": "initial",
  43. "maximumWarning": "500kb",
  44. "maximumError": "1mb"
  45. },
  46. {
  47. "type": "anyComponentStyle",
  48. "maximumWarning": "2kb",
  49. "maximumError": "4kb"
  50. }
  51. ],
  52. "outputHashing": "all"
  53. },
  54. "development": {
  55. "buildOptimizer": false,
  56. "optimization": false,
  57. "vendorChunk": true,
  58. "extractLicenses": false,
  59. "sourceMap": true,
  60. "namedChunks": true
  61. }
  62. },
  63. "defaultConfiguration": "production"
  64. },
  65. "serve": {
  66. "builder": "@angular-devkit/build-angular:dev-server",
  67. "configurations": {
  68. "production": {
  69. "browserTarget": "iot-web-ui:build:production"
  70. },
  71. "development": {
  72. "browserTarget": "iot-web-ui:build:development"
  73. }
  74. },
  75. "defaultConfiguration": "development"
  76. },
  77. "extract-i18n": {
  78. "builder": "@angular-devkit/build-angular:extract-i18n",
  79. "options": {
  80. "browserTarget": "iot-web-ui:build"
  81. }
  82. },
  83. "test": {
  84. "builder": "@angular-devkit/build-angular:karma",
  85. "options": {
  86. "polyfills": [
  87. "zone.js",
  88. "zone.js/testing"
  89. ],
  90. "tsConfig": "tsconfig.spec.json",
  91. "inlineStyleLanguage": "scss",
  92. "assets": [
  93. "src/favicon.ico",
  94. "src/assets"
  95. ],
  96. "styles": [
  97. "@angular/material/prebuilt-themes/indigo-pink.css",
  98. "src/styles.scss"
  99. ],
  100. "scripts": []
  101. }
  102. }
  103. }
  104. }
  105. }
  106. }