angular.json 2.8 KB

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