Advertisement
Guest User

angular.json

a guest
Feb 6th, 2024
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.48 KB | None | 0 0
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "ngportfolio": {
  7. "projectType": "application",
  8. "schematics": {
  9. "@schematics/angular:component": {
  10. "style": "scss",
  11. "standalone": false
  12. }
  13. },
  14. "root": "",
  15. "sourceRoot": "src",
  16. "prefix": "app",
  17. "architect": {
  18. "build": {
  19. "builder": "@angular-devkit/build-angular:browser",
  20. "options": {
  21. "outputPath": "dist",
  22. "index": "src/index.html",
  23. "main": "src/main.ts",
  24. "polyfills": [
  25. "zone.js"
  26. ],
  27. "tsConfig": "tsconfig.app.json",
  28. "inlineStyleLanguage": "scss",
  29. "assets": [
  30. "src/favicon.ico",
  31. "src/assets"
  32. ],
  33. "styles": [
  34. "@angular/material/prebuilt-themes/deeppurple-amber.css",
  35. "src/styles.scss",
  36. "node_modules/highlight.js/styles/github.css",
  37. "node_modules/highlight.js/styles/atom-one-dark.css"
  38. ],
  39. "scripts": []
  40. },
  41. "configurations": {
  42. "production": {
  43. "budgets": [
  44. {
  45. "type": "initial",
  46. "maximumWarning": "500kb",
  47. "maximumError": "5mb"
  48. },
  49. {
  50. "type": "anyComponentStyle",
  51. "maximumWarning": "2kb",
  52. "maximumError": "10kb"
  53. }
  54. ],
  55. "outputHashing": "all"
  56. },
  57. "development": {
  58. "buildOptimizer": false,
  59. "optimization": false,
  60. "vendorChunk": true,
  61. "extractLicenses": false,
  62. "sourceMap": true,
  63. "namedChunks": true,
  64. "aot": true
  65. }
  66. },
  67. "defaultConfiguration": "production"
  68. },
  69. "serve": {
  70. "builder": "@angular-devkit/build-angular:dev-server",
  71. "configurations": {
  72. "production": {
  73. "buildTarget": "ngportfolio:build:production"
  74. },
  75. "development": {
  76. "buildTarget": "ngportfolio:build:development"
  77. }
  78. },
  79. "defaultConfiguration": "development"
  80. },
  81. "extract-i18n": {
  82. "builder": "@angular-devkit/build-angular:extract-i18n",
  83. "options": {
  84. "buildTarget": "ngportfolio:build"
  85. }
  86. },
  87. "test": {
  88. "builder": "@angular-devkit/build-angular:karma",
  89. "options": {
  90. "polyfills": [
  91. "zone.js",
  92. "zone.js/testing"
  93. ],
  94. "tsConfig": "tsconfig.spec.json",
  95. "inlineStyleLanguage": "scss",
  96. "assets": [
  97. "src/favicon.ico",
  98. "src/assets"
  99. ],
  100. "styles": [
  101. "@angular/material/prebuilt-themes/deeppurple-amber.css",
  102. "src/styles.scss"
  103. ],
  104. "scripts": []
  105. }
  106. },
  107. "deploy": {
  108. "builder": "@angular/fire:deploy",
  109. "options": {
  110. "version": 2,
  111. "browserTarget": "ngportfolio:build:production"
  112. }
  113. }
  114. }
  115. }
  116. },
  117. "cli": {
  118. "analytics": false
  119. }
  120. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement