angular.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "demo-ecom-cbo": {
  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:application",
  19. "options": {
  20. "outputPath": "dist/demo-ecom-cbo",
  21. "index": "src/index.html",
  22. "browser": "src/main.ts",
  23. "polyfills": ["zone.js"],
  24. "tsConfig": "tsconfig.app.json",
  25. "inlineStyleLanguage": "scss",
  26. "assets": [
  27. {
  28. "glob": "**/*",
  29. "input": "public"
  30. }
  31. ],
  32. "styles": ["src/styles.scss"],
  33. "scripts": []
  34. },
  35. "configurations": {
  36. "production": {
  37. "budgets": [
  38. {
  39. "type": "initial",
  40. "maximumWarning": "2MB",
  41. "maximumError": "4MB"
  42. },
  43. {
  44. "type": "anyComponentStyle",
  45. "maximumWarning": "8kB",
  46. "maximumError": "16kB"
  47. }
  48. ],
  49. "outputHashing": "all"
  50. },
  51. "development": {
  52. "optimization": false,
  53. "extractLicenses": false,
  54. "sourceMap": true
  55. }
  56. },
  57. "defaultConfiguration": "production"
  58. },
  59. "serve": {
  60. "builder": "@angular-devkit/build-angular:dev-server",
  61. "configurations": {
  62. "production": {
  63. "buildTarget": "demo-ecom-cbo:build:production"
  64. },
  65. "development": {
  66. "buildTarget": "demo-ecom-cbo:build:development"
  67. }
  68. },
  69. "defaultConfiguration": "development"
  70. }
  71. }
  72. }
  73. }
  74. }