angular.json 3.0 KB

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