angular.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. "moment",
  41. "jsbarcode",
  42. "quill",
  43. "@pdftron/webviewer"
  44. ],
  45. "outputPath": "dist/sistema-mantenimiento-front",
  46. "index": "src/index.html",
  47. "main": "src/main.ts",
  48. "polyfills": "src/polyfills.ts",
  49. "tsConfig": "tsconfig.app.json",
  50. "assets": [
  51. "src/favicon.ico",
  52. "src/assets"
  53. ],
  54. "styles": [
  55. "src/custom-theme.scss",
  56. "src/styles.css"
  57. ],
  58. "scripts": [
  59. "node_modules/libsodium/dist/modules/libsodium.js",
  60. "node_modules/libsodium-wrappers/dist/modules/libsodium-wrappers.js"
  61. ]
  62. },
  63. "configurations": {
  64. "production": {
  65. "budgets": [
  66. {
  67. "type": "initial",
  68. "maximumWarning": "500kb",
  69. "maximumError": "1mb"
  70. },
  71. {
  72. "type": "anyComponentStyle",
  73. "maximumWarning": "2kb",
  74. "maximumError": "4kb"
  75. }
  76. ],
  77. "fileReplacements": [
  78. {
  79. "replace": "src/environments/environment.ts",
  80. "with": "src/environments/environment.prod.ts"
  81. }
  82. ],
  83. "outputHashing": "all"
  84. },
  85. "development": {
  86. "buildOptimizer": false,
  87. "optimization": false,
  88. "vendorChunk": true,
  89. "extractLicenses": false,
  90. "sourceMap": true,
  91. "namedChunks": true
  92. }
  93. },
  94. "defaultConfiguration": "production"
  95. },
  96. "serve": {
  97. "builder": "@angular-devkit/build-angular:dev-server",
  98. "configurations": {
  99. "production": {
  100. "buildTarget": "sistema-mantenimiento-front:build:production"
  101. },
  102. "development": {
  103. "buildTarget": "sistema-mantenimiento-front:build:development"
  104. }
  105. },
  106. "defaultConfiguration": "development"
  107. },
  108. "extract-i18n": {
  109. "builder": "@angular-devkit/build-angular:extract-i18n",
  110. "options": {
  111. "buildTarget": "sistema-mantenimiento-front:build"
  112. }
  113. },
  114. "test": {
  115. "builder": "@angular-devkit/build-angular:karma",
  116. "options": {
  117. "main": "src/test.ts",
  118. "polyfills": "src/polyfills.ts",
  119. "tsConfig": "tsconfig.spec.json",
  120. "karmaConfig": "karma.conf.js",
  121. "assets": [
  122. "src/favicon.ico",
  123. "src/assets"
  124. ],
  125. "styles": [
  126. "src/styles.css"
  127. ],
  128. "scripts": []
  129. }
  130. }
  131. }
  132. }
  133. }
  134. }