angular.json 3.2 KB

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