angular.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "cli": {
  4. "analytics": "cb2b0d66-93ee-4b46-a954-3c20947dcc85"
  5. },
  6. "version": 1,
  7. "newProjectRoot": "projects",
  8. "projects": {
  9. "vacaciones": {
  10. "projectType": "application",
  11. "schematics": {
  12. "@schematics/angular:application": {
  13. "strict": true
  14. }
  15. },
  16. "root": "",
  17. "sourceRoot": "src",
  18. "prefix": "app",
  19. "architect": {
  20. "build": {
  21. "builder": "@angular-devkit/build-angular:browser",
  22. "options": {
  23. "allowedCommonJsDependencies": [
  24. "lodash", "rxjs-compat"
  25. ],
  26. "outputPath": "dist/vacaciones",
  27. "index": "src/index.html",
  28. "main": "src/main.ts",
  29. "polyfills": "src/polyfills.ts",
  30. "tsConfig": "tsconfig.app.json",
  31. "assets": ["src/favicon.ico", "src/assets"],
  32. "styles": ["src/custom-theme.scss", "src/styles.css"],
  33. "scripts": []
  34. },
  35. "configurations": {
  36. "production": {
  37. "budgets": [
  38. {
  39. "type": "initial",
  40. "maximumWarning": "500kb",
  41. "maximumError": "4mb"
  42. },
  43. {
  44. "type": "anyComponentStyle",
  45. "maximumWarning": "2kb",
  46. "maximumError": "4kb"
  47. }
  48. ],
  49. "fileReplacements": [
  50. {
  51. "replace": "src/environments/environment.ts",
  52. "with": "src/environments/environment.prod.ts"
  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. }
  65. },
  66. "defaultConfiguration": "production"
  67. },
  68. "serve": {
  69. "builder": "@angular-devkit/build-angular:dev-server",
  70. "configurations": {
  71. "production": {
  72. "browserTarget": "vacaciones:build:production"
  73. },
  74. "development": {
  75. "browserTarget": "vacaciones:build:development"
  76. }
  77. },
  78. "defaultConfiguration": "development"
  79. },
  80. "extract-i18n": {
  81. "builder": "@angular-devkit/build-angular:extract-i18n",
  82. "options": {
  83. "browserTarget": "vacaciones:build"
  84. }
  85. },
  86. "test": {
  87. "builder": "@angular-devkit/build-angular:karma",
  88. "options": {
  89. "main": "src/test.ts",
  90. "polyfills": "src/polyfills.ts",
  91. "tsConfig": "tsconfig.spec.json",
  92. "karmaConfig": "karma.conf.js",
  93. "assets": ["src/favicon.ico", "src/assets"],
  94. "styles": ["src/styles.css"],
  95. "scripts": []
  96. }
  97. }
  98. }
  99. }
  100. },
  101. "defaultProject": "vacaciones"
  102. }