package.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "name": "http-proxy-middleware",
  3. "version": "1.3.1",
  4. "description": "The one-liner node.js proxy middleware for connect, express and browser-sync",
  5. "main": "dist/index.js",
  6. "types": "dist/index.d.ts",
  7. "files": [
  8. "dist"
  9. ],
  10. "scripts": {
  11. "clean": "rm -rf dist && rm -rf coverage",
  12. "lint": "yarn prettier && yarn eslint",
  13. "lint:fix": "yarn prettier:fix && yarn eslint:fix",
  14. "eslint": "eslint '{src,test}/**/*.ts'",
  15. "eslint:fix": "yarn eslint --fix",
  16. "prettier": "prettier --list-different \"**/*.{js,ts,md,yml,json,html}\"",
  17. "prettier:fix": "prettier --write \"**/*.{js,ts,md,yml,json,html}\"",
  18. "prebuild": "yarn clean",
  19. "build": "tsc",
  20. "pretest": "yarn build",
  21. "test": "jest",
  22. "coverage": "jest --coverage --coverageReporters=lcov",
  23. "prepare": "yarn build && rm dist/tsconfig.tsbuildinfo"
  24. },
  25. "repository": {
  26. "type": "git",
  27. "url": "https://github.com/chimurai/http-proxy-middleware.git"
  28. },
  29. "keywords": [
  30. "reverse",
  31. "proxy",
  32. "middleware",
  33. "http",
  34. "https",
  35. "connect",
  36. "express",
  37. "fastify",
  38. "polka",
  39. "browser-sync",
  40. "gulp",
  41. "grunt-contrib-connect",
  42. "websocket",
  43. "ws",
  44. "cors"
  45. ],
  46. "author": "Steven Chim",
  47. "license": "MIT",
  48. "bugs": {
  49. "url": "https://github.com/chimurai/http-proxy-middleware/issues"
  50. },
  51. "homepage": "https://github.com/chimurai/http-proxy-middleware#readme",
  52. "devDependencies": {
  53. "@commitlint/cli": "^12.0.1",
  54. "@commitlint/config-conventional": "^12.0.1",
  55. "@types/express": "4.17.7",
  56. "@types/is-glob": "^4.0.1",
  57. "@types/jest": "^26.0.22",
  58. "@types/micromatch": "^4.0.1",
  59. "@types/node": "^14.14.37",
  60. "@types/supertest": "^2.0.10",
  61. "@types/ws": "^7.4.0",
  62. "@typescript-eslint/eslint-plugin": "^4.19.0",
  63. "@typescript-eslint/parser": "^4.19.0",
  64. "body-parser": "^1.19.0",
  65. "browser-sync": "^2.26.14",
  66. "connect": "^3.7.0",
  67. "eslint": "^7.23.0",
  68. "eslint-config-prettier": "^8.1.0",
  69. "eslint-plugin-prettier": "^3.3.1",
  70. "express": "^4.17.1",
  71. "husky": "^4.3.0",
  72. "jest": "^26.6.3",
  73. "lint-staged": "^10.5.4",
  74. "mockttp": "^1.2.0",
  75. "open": "^7.4.2",
  76. "prettier": "^2.2.1",
  77. "supertest": "^6.1.3",
  78. "ts-jest": "^26.5.4",
  79. "typescript": "^4.2.3",
  80. "ws": "^7.4.4"
  81. },
  82. "dependencies": {
  83. "@types/http-proxy": "^1.17.5",
  84. "http-proxy": "^1.18.1",
  85. "is-glob": "^4.0.1",
  86. "is-plain-obj": "^3.0.0",
  87. "micromatch": "^4.0.2"
  88. },
  89. "engines": {
  90. "node": ">=8.0.0"
  91. },
  92. "husky": {
  93. "hooks": {
  94. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
  95. "pre-commit": "lint-staged"
  96. }
  97. },
  98. "commitlint": {
  99. "extends": [
  100. "@commitlint/config-conventional"
  101. ]
  102. }
  103. }