package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. {
  2. "name": "http-proxy-middleware",
  3. "type": "commonjs",
  4. "version": "3.0.3",
  5. "description": "The one-liner node.js proxy middleware for connect, express, next.js and more",
  6. "main": "dist/index.js",
  7. "types": "dist/index.d.ts",
  8. "files": [
  9. "dist"
  10. ],
  11. "scripts": {
  12. "clean": "rm -rf dist coverage tsconfig.tsbuildinfo .eslintcache",
  13. "install:all": "yarn && (cd examples && yarn)",
  14. "lint": "yarn prettier && yarn eslint",
  15. "lint:fix": "yarn prettier:fix && yarn eslint:fix",
  16. "eslint": "eslint '{src,test,examples}/**/*.{js,ts}' --cache",
  17. "eslint:fix": "yarn eslint --fix",
  18. "prettier": "prettier --list-different \"**/*.{js,ts,md,yml,json,html}\"",
  19. "prettier:fix": "prettier --write \"**/*.{js,ts,md,yml,json,html}\"",
  20. "build": "tsc --build",
  21. "test": "jest",
  22. "coverage": "jest --coverage",
  23. "prepare": "husky",
  24. "prepack": "yarn clean && yarn test && yarn build",
  25. "spellcheck": "npx --yes cspell --show-context --show-suggestions '**/*.*'"
  26. },
  27. "publishConfig": {
  28. "provenance": true
  29. },
  30. "repository": {
  31. "type": "git",
  32. "url": "git+https://github.com/chimurai/http-proxy-middleware.git"
  33. },
  34. "keywords": [
  35. "reverse",
  36. "proxy",
  37. "middleware",
  38. "http",
  39. "https",
  40. "connect",
  41. "express",
  42. "fastify",
  43. "polka",
  44. "next.js",
  45. "browser-sync",
  46. "gulp",
  47. "grunt-contrib-connect",
  48. "websocket",
  49. "ws",
  50. "cors"
  51. ],
  52. "author": "Steven Chim",
  53. "license": "MIT",
  54. "bugs": {
  55. "url": "https://github.com/chimurai/http-proxy-middleware/issues"
  56. },
  57. "homepage": "https://github.com/chimurai/http-proxy-middleware#readme",
  58. "devDependencies": {
  59. "@commitlint/cli": "19.4.1",
  60. "@commitlint/config-conventional": "19.4.1",
  61. "@eslint/js": "9.9.1",
  62. "@types/debug": "4.1.12",
  63. "@types/eslint": "9.6.1",
  64. "@types/eslint__js": "8.42.3",
  65. "@types/express": "4.17.21",
  66. "@types/is-glob": "4.0.4",
  67. "@types/jest": "29.5.12",
  68. "@types/micromatch": "4.0.9",
  69. "@types/node": "22.5.1",
  70. "@types/supertest": "6.0.2",
  71. "@types/ws": "8.5.12",
  72. "body-parser": "1.20.2",
  73. "eslint": "9.9.1",
  74. "eslint-config-prettier": "9.1.0",
  75. "eslint-plugin-prettier": "5.2.1",
  76. "express": "4.19.2",
  77. "get-port": "5.1.1",
  78. "globals": "15.9.0",
  79. "husky": "9.1.5",
  80. "jest": "29.7.0",
  81. "lint-staged": "15.2.9",
  82. "mockttp": "3.15.2",
  83. "open": "8.4.2",
  84. "prettier": "3.3.3",
  85. "supertest": "7.0.0",
  86. "ts-jest": "29.2.5",
  87. "typescript": "5.5.4",
  88. "typescript-eslint": "8.3.0",
  89. "ws": "8.18.0"
  90. },
  91. "dependencies": {
  92. "@types/http-proxy": "^1.17.15",
  93. "debug": "^4.3.6",
  94. "http-proxy": "^1.18.1",
  95. "is-glob": "^4.0.3",
  96. "is-plain-object": "^5.0.0",
  97. "micromatch": "^4.0.8"
  98. },
  99. "engines": {
  100. "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
  101. },
  102. "commitlint": {
  103. "extends": [
  104. "@commitlint/config-conventional"
  105. ]
  106. }
  107. }