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