package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. {
  2. "name": "http-proxy-middleware",
  3. "version": "4.2.0",
  4. "description": "The one-liner node.js proxy middleware for connect, express, next.js and more",
  5. "keywords": [
  6. "browser-sync",
  7. "connect",
  8. "cors",
  9. "express",
  10. "fastify",
  11. "grunt-contrib-connect",
  12. "gulp",
  13. "hono",
  14. "http",
  15. "https",
  16. "middleware",
  17. "next.js",
  18. "polka",
  19. "proxy",
  20. "reverse",
  21. "websocket",
  22. "ws"
  23. ],
  24. "homepage": "https://github.com/chimurai/http-proxy-middleware#readme",
  25. "bugs": {
  26. "url": "https://github.com/chimurai/http-proxy-middleware/issues"
  27. },
  28. "license": "MIT",
  29. "author": "Steven Chim",
  30. "repository": {
  31. "type": "git",
  32. "url": "git+https://github.com/chimurai/http-proxy-middleware.git"
  33. },
  34. "files": [
  35. "dist"
  36. ],
  37. "type": "module",
  38. "main": "dist/index.js",
  39. "types": "dist/index.d.ts",
  40. "exports": {
  41. ".": {
  42. "types": "./dist/index.d.ts",
  43. "import": "./dist/index.js",
  44. "default": "./dist/index.js"
  45. },
  46. "./hono": {
  47. "types": "./dist/index-hono.d.ts",
  48. "import": "./dist/index-hono.js",
  49. "default": "./dist/index-hono.js"
  50. }
  51. },
  52. "publishConfig": {
  53. "provenance": true
  54. },
  55. "scripts": {
  56. "clean": "rm -rf dist coverage tsconfig.tsbuildinfo .eslintcache",
  57. "install:all": "yarn && (cd examples && yarn)",
  58. "lint": "yarn format && yarn eslint",
  59. "lint:fix": "yarn format:fix && yarn eslint:fix",
  60. "eslint": "eslint --cache '**/*.{js,ts,mjs,mts}'",
  61. "eslint:fix": "yarn eslint --fix",
  62. "format": "oxfmt --list-different \"**/*.{js,ts,mjs,mts,md,yml,json,html}\"",
  63. "format:fix": "oxfmt --write \"**/*.{js,ts,mjs,mts,md,yml,json,html}\"",
  64. "build": "tsc --build",
  65. "test": "vitest run",
  66. "test:types": "tsc --project tsconfig.test.json --noEmit",
  67. "coverage": "vitest run --coverage",
  68. "prepare": "husky",
  69. "prepack": "yarn clean && yarn test && yarn build",
  70. "spellcheck": "npx --yes cspell --show-context --show-suggestions '**/*.*'"
  71. },
  72. "dependencies": {
  73. "debug": "^4.4.3",
  74. "httpxy": "^0.5.4",
  75. "is-glob": "^4.0.3",
  76. "is-plain-obj": "^4.1.0",
  77. "micromatch": "^4.0.8"
  78. },
  79. "devDependencies": {
  80. "@commitlint/cli": "21.2.0",
  81. "@commitlint/config-conventional": "21.2.0",
  82. "@eslint/js": "10.0.1",
  83. "@hono/node-server": "2.0.8",
  84. "@types/debug": "4.1.13",
  85. "@types/eslint": "9.6.1",
  86. "@types/express": "5.0.6",
  87. "@types/is-glob": "4.0.4",
  88. "@types/micromatch": "4.0.10",
  89. "@types/node": "26.1.0",
  90. "@types/supertest": "7.2.0",
  91. "@types/ws": "8.18.1",
  92. "@vitest/coverage-v8": "4.1.9",
  93. "body-parser": "2.3.0",
  94. "eslint": "10.6.0",
  95. "express": "5.2.1",
  96. "get-port": "7.2.0",
  97. "globals": "17.7.0",
  98. "hono": "4.12.27",
  99. "husky": "9.1.7",
  100. "lint-staged": "17.0.8",
  101. "mockttp": "4.4.2",
  102. "msw": "2.14.6",
  103. "nock": "14.0.16",
  104. "open": "11.0.0",
  105. "oxfmt": "0.57.0",
  106. "pkg-pr-new": "0.0.75",
  107. "supertest": "7.2.2",
  108. "typescript": "6.0.3",
  109. "typescript-eslint": "8.62.1",
  110. "vitest": "4.1.9",
  111. "ws": "8.21.0"
  112. },
  113. "commitlint": {
  114. "extends": [
  115. "@commitlint/config-conventional"
  116. ]
  117. },
  118. "engines": {
  119. "node": "^22.15.0 || ^24.0.0 || >=26.0.0"
  120. }
  121. }