angular.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "picture-web": {
  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/build:application",
  19. "options": {
  20. "browser": "src/main.ts",
  21. "polyfills": [
  22. "zone.js"
  23. ],
  24. "tsConfig": "tsconfig.app.json",
  25. "inlineStyleLanguage": "scss",
  26. "assets": [
  27. {
  28. "glob": "**/*",
  29. "input": "public"
  30. }
  31. ],
  32. "styles": [
  33. "src/styles.scss",
  34. "node_modules/swiper/swiper-bundle.min.css",
  35. "node_modules/@angular/material/prebuilt-themes/indigo-pink.css"
  36. ]
  37. },
  38. "configurations": {
  39. "production": {
  40. "budgets": [
  41. {
  42. "type": "initial",
  43. "maximumWarning": "500kB",
  44. "maximumError": "1MB"
  45. },
  46. {
  47. "type": "anyComponentStyle",
  48. "maximumWarning": "4kB",
  49. "maximumError": "8kB"
  50. }
  51. ],
  52. "outputHashing": "all"
  53. },
  54. "development": {
  55. "optimization": false,
  56. "extractLicenses": false,
  57. "sourceMap": true
  58. }
  59. },
  60. "defaultConfiguration": "production"
  61. },
  62. "serve": {
  63. "builder": "@angular/build:dev-server",
  64. "configurations": {
  65. "production": {
  66. "buildTarget": "picture-web:build:production"
  67. },
  68. "development": {
  69. "buildTarget": "picture-web:build:development"
  70. }
  71. },
  72. "defaultConfiguration": "development"
  73. },
  74. "extract-i18n": {
  75. "builder": "@angular/build:extract-i18n"
  76. },
  77. "test": {
  78. "builder": "@angular/build:karma",
  79. "options": {
  80. "polyfills": [
  81. "zone.js",
  82. "zone.js/testing"
  83. ],
  84. "tsConfig": "tsconfig.spec.json",
  85. "inlineStyleLanguage": "scss",
  86. "assets": [
  87. {
  88. "glob": "**/*",
  89. "input": "public"
  90. }
  91. ],
  92. "styles": [
  93. "src/styles.scss"
  94. ]
  95. }
  96. }
  97. }
  98. }
  99. }
  100. }