angular.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "DnDTools": {
  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/dn-dtools",
  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/deeppurple-amber.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. "buildTarget": "DnDTools:build:production"
  70. },
  71. "development": {
  72. "buildTarget": "DnDTools:build:development"
  73. }
  74. },
  75. "defaultConfiguration": "development"
  76. },
  77. "extract-i18n": {
  78. "builder": "@angular-devkit/build-angular:extract-i18n",
  79. "options": {
  80. "buildTarget": "DnDTools: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/deeppurple-amber.css",
  98. "src/styles.scss"
  99. ],
  100. "scripts": []
  101. }
  102. }
  103. }
  104. }
  105. },
  106. "cli": {
  107. "analytics": false
  108. }
  109. }