angular.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "cli": {
  5. "packageManager": "npm"
  6. },
  7. "newProjectRoot": "projects",
  8. "projects": {
  9. "recycle-app": {
  10. "projectType": "application",
  11. "schematics": {
  12. "@schematics/angular:component": {
  13. "style": "scss"
  14. }
  15. },
  16. "root": "",
  17. "sourceRoot": "src",
  18. "prefix": "app",
  19. "architect": {
  20. "build": {
  21. "builder": "@angular/build:application",
  22. "options": {
  23. "browser": "src/main.ts",
  24. "polyfills": [
  25. "zone.js"
  26. ],
  27. "tsConfig": "tsconfig.app.json",
  28. "inlineStyleLanguage": "scss",
  29. "assets": [
  30. {
  31. "glob": "**/*",
  32. "input": "public"
  33. },
  34. {
  35. "glob": "**/*",
  36. "input": "node_modules/@fortawesome/fontawesome-free/webfonts",
  37. "output": "/webfonts"
  38. }
  39. ],
  40. "styles": [
  41. "src/styles.scss"
  42. ],
  43. "externalDependencies": []
  44. },
  45. "configurations": {
  46. "production": {
  47. "budgets": [
  48. {
  49. "type": "initial",
  50. "maximumWarning": "500kB",
  51. "maximumError": "1MB"
  52. },
  53. {
  54. "type": "anyComponentStyle",
  55. "maximumWarning": "8kB",
  56. "maximumError": "25kB"
  57. }
  58. ],
  59. "outputHashing": "all"
  60. },
  61. "development": {
  62. "optimization": false,
  63. "extractLicenses": false,
  64. "sourceMap": true
  65. }
  66. },
  67. "defaultConfiguration": "production"
  68. },
  69. "serve": {
  70. "builder": "@angular/build:dev-server",
  71. "configurations": {
  72. "production": {
  73. "buildTarget": "recycle-app:build:production"
  74. },
  75. "development": {
  76. "buildTarget": "recycle-app:build:development"
  77. }
  78. },
  79. "defaultConfiguration": "development"
  80. },
  81. "extract-i18n": {
  82. "builder": "@angular/build:extract-i18n"
  83. },
  84. "test": {
  85. "builder": "@angular/build:karma",
  86. "options": {
  87. "polyfills": [
  88. "zone.js",
  89. "zone.js/testing"
  90. ],
  91. "tsConfig": "tsconfig.spec.json",
  92. "inlineStyleLanguage": "scss",
  93. "assets": [
  94. {
  95. "glob": "**/*",
  96. "input": "public"
  97. },
  98. {
  99. "glob": "**/*",
  100. "input": "node_modules/@fortawesome/fontawesome-free/webfonts",
  101. "output": "/webfonts"
  102. }
  103. ],
  104. "styles": [
  105. "src/styles.scss"
  106. ]
  107. }
  108. }
  109. }
  110. }
  111. }
  112. }