angular.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "FrontP-Educativa": {
  7. "projectType": "application",
  8. "schematics": {
  9. "@schematics/angular:component": {
  10. "standalone": false
  11. },
  12. "@schematics/angular:directive": {
  13. "standalone": false
  14. },
  15. "@schematics/angular:pipe": {
  16. "standalone": false
  17. }
  18. },
  19. "root": "",
  20. "sourceRoot": "src",
  21. "prefix": "app",
  22. "architect": {
  23. "build": {
  24. "builder": "@angular-devkit/build-angular:application",
  25. "options": {
  26. "outputPath": "dist/front-p-educativa",
  27. "index": "src/index.html",
  28. "browser": "src/main.ts",
  29. "polyfills": [
  30. "zone.js"
  31. ],
  32. "tsConfig": "tsconfig.app.json",
  33. "assets": [
  34. "src/favicon.ico",
  35. "src/assets"
  36. ],
  37. "styles": [
  38. "src/custom-theme.scss",
  39. "src/styles.css"
  40. ],
  41. "scripts": [],
  42. "allowedCommonJsDependencies": [
  43. "sweetalert2",
  44. "moment",
  45. "html2canvas",
  46. "dompurify",
  47. "canvg"
  48. ]
  49. },
  50. "configurations": {
  51. "production": {
  52. "budgets": [
  53. {
  54. "type": "initial",
  55. "maximumWarning": "5mb",
  56. "maximumError": "7mb"
  57. },
  58. {
  59. "type": "anyComponentStyle",
  60. "maximumWarning": "10kb",
  61. "maximumError": "20kb"
  62. }
  63. ],
  64. "outputHashing": "all"
  65. },
  66. "development": {
  67. "optimization": false,
  68. "extractLicenses": false,
  69. "sourceMap": true
  70. }
  71. },
  72. "defaultConfiguration": "production"
  73. },
  74. "serve": {
  75. "builder": "@angular-devkit/build-angular:dev-server",
  76. "configurations": {
  77. "production": {
  78. "buildTarget": "FrontP-Educativa:build:production"
  79. },
  80. "development": {
  81. "buildTarget": "FrontP-Educativa:build:development"
  82. }
  83. },
  84. "defaultConfiguration": "development"
  85. },
  86. "extract-i18n": {
  87. "builder": "@angular-devkit/build-angular:extract-i18n",
  88. "options": {
  89. "buildTarget": "FrontP-Educativa:build"
  90. }
  91. },
  92. "test": {
  93. "builder": "@angular-devkit/build-angular:karma",
  94. "options": {
  95. "polyfills": [
  96. "zone.js",
  97. "zone.js/testing"
  98. ],
  99. "tsConfig": "tsconfig.spec.json",
  100. "assets": [
  101. "src/favicon.ico",
  102. "src/assets"
  103. ],
  104. "styles": [
  105. "@angular/material/prebuilt-themes/indigo-pink.css",
  106. "src/styles.css",
  107. "node_modules/@fortawesome/fontawesome-free/css/all.css"
  108. ],
  109. "scripts": []
  110. }
  111. }
  112. }
  113. }
  114. },
  115. "cli": {
  116. "analytics": "0d407eb0-a044-4698-a312-3f1d23165a6c"
  117. }
  118. }