angular.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "cli": {
  4. "analytics": "51de92c9-866b-4400-921d-8930f301a11a"
  5. },
  6. "version": 1,
  7. "newProjectRoot": "projects",
  8. "projects": {
  9. "sistema-mantenimiento-front": {
  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. "crypto",
  25. "rxjs-compat",
  26. "lodash",
  27. "jspdf-autotable",
  28. "libsodium-wrappers",
  29. "libsodium",
  30. "canvg",
  31. "jspdf",
  32. "jspdf-autotable",
  33. "rxjs",
  34. "crypto-browserify",
  35. "tslib",
  36. "zone.js",
  37. "raf",
  38. "@babel/runtime-corejs3"
  39. ],
  40. "outputPath": "dist/sistema-mantenimiento-front",
  41. "index": "src/index.html",
  42. "main": "src/main.ts",
  43. "polyfills": "src/polyfills.ts",
  44. "tsConfig": "tsconfig.app.json",
  45. "assets": [
  46. "src/favicon.ico",
  47. "src/assets"
  48. ],
  49. "styles": [
  50. "src/custom-theme.scss",
  51. "src/styles.css"
  52. ],
  53. "scripts": [
  54. "node_modules/libsodium/dist/modules/libsodium.js",
  55. "node_modules/libsodium-wrappers/dist/modules/libsodium-wrappers.js"
  56. ]
  57. },
  58. "configurations": {
  59. "production": {
  60. "budgets": [
  61. {
  62. "type": "initial",
  63. "maximumWarning": "500kb",
  64. "maximumError": "1mb"
  65. },
  66. {
  67. "type": "anyComponentStyle",
  68. "maximumWarning": "2kb",
  69. "maximumError": "4kb"
  70. }
  71. ],
  72. "fileReplacements": [
  73. {
  74. "replace": "src/environments/environment.ts",
  75. "with": "src/environments/environment.prod.ts"
  76. }
  77. ],
  78. "outputHashing": "all"
  79. },
  80. "development": {
  81. "buildOptimizer": false,
  82. "optimization": false,
  83. "vendorChunk": true,
  84. "extractLicenses": false,
  85. "sourceMap": true,
  86. "namedChunks": true
  87. }
  88. },
  89. "defaultConfiguration": "production"
  90. },
  91. "serve": {
  92. "builder": "@angular-devkit/build-angular:dev-server",
  93. "configurations": {
  94. "production": {
  95. "browserTarget": "sistema-mantenimiento-front:build:production"
  96. },
  97. "development": {
  98. "browserTarget": "sistema-mantenimiento-front:build:development"
  99. }
  100. },
  101. "defaultConfiguration": "development"
  102. },
  103. "extract-i18n": {
  104. "builder": "@angular-devkit/build-angular:extract-i18n",
  105. "options": {
  106. "browserTarget": "sistema-mantenimiento-front:build"
  107. }
  108. },
  109. "test": {
  110. "builder": "@angular-devkit/build-angular:karma",
  111. "options": {
  112. "main": "src/test.ts",
  113. "polyfills": "src/polyfills.ts",
  114. "tsConfig": "tsconfig.spec.json",
  115. "karmaConfig": "karma.conf.js",
  116. "assets": [
  117. "src/favicon.ico",
  118. "src/assets"
  119. ],
  120. "styles": [
  121. "src/styles.css"
  122. ],
  123. "scripts": []
  124. }
  125. }
  126. }
  127. }
  128. },
  129. "defaultProject": "sistema-mantenimiento-front"
  130. }