angular.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. "public/js/project.js"
  34. ]
  35. },
  36. "configurations": {
  37. "production": {
  38. "budgets": [
  39. {
  40. "type": "initial",
  41. "maximumWarning": "500kB",
  42. "maximumError": "1MB"
  43. },
  44. {
  45. "type": "anyComponentStyle",
  46. "maximumWarning": "2kB",
  47. "maximumError": "4kB"
  48. }
  49. ],
  50. "outputHashing": "all"
  51. },
  52. "development": {
  53. "optimization": false,
  54. "extractLicenses": false,
  55. "sourceMap": true,
  56. "fileReplacements": [
  57. {
  58. "replace": "src/environments/environment.ts",
  59. "with": "src/environments/environment.development.ts"
  60. }
  61. ]
  62. }
  63. },
  64. "defaultConfiguration": "production"
  65. },
  66. "serve": {
  67. "builder": "@angular-devkit/build-angular:dev-server",
  68. "options": {
  69. "browserTarget": "move-safe:build",
  70. "proxyConfig": "src/proxy.conf.json"
  71. },
  72. "configurations": {
  73. "production": {
  74. "buildTarget": "inigovalentin:build:production"
  75. },
  76. "development": {
  77. "buildTarget": "inigovalentin:build:development"
  78. }
  79. },
  80. "defaultConfiguration": "development"
  81. },
  82. "extract-i18n": {
  83. "builder": "@angular-devkit/build-angular:extract-i18n"
  84. },
  85. "test": {
  86. "builder": "@angular-devkit/build-angular:karma",
  87. "options": {
  88. "polyfills": [
  89. "zone.js",
  90. "zone.js/testing"
  91. ],
  92. "tsConfig": "tsconfig.spec.json",
  93. "assets": [
  94. {
  95. "glob": "**/*",
  96. "input": "public"
  97. }
  98. ],
  99. "styles": [
  100. "src/styles.css"
  101. ],
  102. "scripts": []
  103. }
  104. }
  105. }
  106. }
  107. }
  108. }