angular.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "inigovalentin": {
  7. "projectType": "application",
  8. "schematics": {},
  9. "root": "",
  10. "sourceRoot": "src",
  11. "prefix": "app",
  12. "architect": {
  13. "build": {
  14. "builder": "@angular-devkit/build-angular:application",
  15. "options": {
  16. "outputPath": "dist/inigovalentin",
  17. "index": "src/index.html",
  18. "browser": "src/main.ts",
  19. "polyfills": [
  20. "zone.js"
  21. ],
  22. "tsConfig": "tsconfig.app.json",
  23. "assets": [
  24. {
  25. "glob": "**/*",
  26. "input": "public"
  27. }
  28. ],
  29. "styles": [
  30. "src/styles.css"
  31. ],
  32. "scripts": []
  33. },
  34. "configurations": {
  35. "production": {
  36. "budgets": [
  37. {
  38. "type": "initial",
  39. "maximumWarning": "500kB",
  40. "maximumError": "1MB"
  41. },
  42. {
  43. "type": "anyComponentStyle",
  44. "maximumWarning": "2kB",
  45. "maximumError": "4kB"
  46. }
  47. ],
  48. "outputHashing": "all"
  49. },
  50. "development": {
  51. "optimization": false,
  52. "extractLicenses": false,
  53. "sourceMap": true,
  54. "fileReplacements": [
  55. {
  56. "replace": "src/environments/environment.ts",
  57. "with": "src/environments/environment.development.ts"
  58. }
  59. ]
  60. }
  61. },
  62. "defaultConfiguration": "production"
  63. },
  64. "serve": {
  65. "builder": "@angular-devkit/build-angular:dev-server",
  66. "options": {
  67. "browserTarget": "move-safe:build",
  68. "proxyConfig": "src/proxy.conf.json"
  69. },
  70. "configurations": {
  71. "production": {
  72. "buildTarget": "inigovalentin:build:production"
  73. },
  74. "development": {
  75. "buildTarget": "inigovalentin:build:development"
  76. }
  77. },
  78. "defaultConfiguration": "development"
  79. },
  80. "extract-i18n": {
  81. "builder": "@angular-devkit/build-angular:extract-i18n"
  82. },
  83. "test": {
  84. "builder": "@angular-devkit/build-angular:karma",
  85. "options": {
  86. "polyfills": [
  87. "zone.js",
  88. "zone.js/testing"
  89. ],
  90. "tsConfig": "tsconfig.spec.json",
  91. "assets": [
  92. {
  93. "glob": "**/*",
  94. "input": "public"
  95. }
  96. ],
  97. "styles": [
  98. "src/styles.css"
  99. ],
  100. "scripts": []
  101. }
  102. }
  103. }
  104. }
  105. }
  106. }