100 lines
2.6 KiB
JSON
100 lines
2.6 KiB
JSON
{
|
|
"name": "http-proxy-middleware",
|
|
"version": "2.0.1",
|
|
"description": "The one-liner node.js proxy middleware for connect, express and browser-sync",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"clean": "rm -rf dist && rm -rf coverage",
|
|
"lint": "yarn prettier && yarn eslint",
|
|
"lint:fix": "yarn prettier:fix && yarn eslint:fix",
|
|
"eslint": "eslint '{src,test}/**/*.ts'",
|
|
"eslint:fix": "yarn eslint --fix",
|
|
"prettier": "prettier --list-different \"**/*.{js,ts,md,yml,json,html}\"",
|
|
"prettier:fix": "prettier --write \"**/*.{js,ts,md,yml,json,html}\"",
|
|
"prebuild": "yarn clean",
|
|
"build": "tsc",
|
|
"pretest": "yarn build",
|
|
"test": "jest",
|
|
"precoverage": "yarn build",
|
|
"coverage": "jest --coverage --coverageReporters=lcov",
|
|
"prepare": "husky install && yarn build && rm dist/tsconfig.tsbuildinfo"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/chimurai/http-proxy-middleware.git"
|
|
},
|
|
"keywords": [
|
|
"reverse",
|
|
"proxy",
|
|
"middleware",
|
|
"http",
|
|
"https",
|
|
"connect",
|
|
"express",
|
|
"fastify",
|
|
"polka",
|
|
"browser-sync",
|
|
"gulp",
|
|
"grunt-contrib-connect",
|
|
"websocket",
|
|
"ws",
|
|
"cors"
|
|
],
|
|
"author": "Steven Chim",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/chimurai/http-proxy-middleware/issues"
|
|
},
|
|
"homepage": "https://github.com/chimurai/http-proxy-middleware#readme",
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^12.1.4",
|
|
"@commitlint/config-conventional": "^12.1.4",
|
|
"@types/express": "4.17.7",
|
|
"@types/is-glob": "^4.0.1",
|
|
"@types/jest": "^26.0.23",
|
|
"@types/micromatch": "^4.0.1",
|
|
"@types/node": "^15.6.2",
|
|
"@types/supertest": "^2.0.11",
|
|
"@types/ws": "^7.4.4",
|
|
"@typescript-eslint/eslint-plugin": "^4.26.0",
|
|
"@typescript-eslint/parser": "^4.26.0",
|
|
"body-parser": "^1.19.0",
|
|
"browser-sync": "^2.26.14",
|
|
"connect": "^3.7.0",
|
|
"eslint": "^7.27.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-prettier": "^3.4.0",
|
|
"express": "^4.17.1",
|
|
"get-port": "^5.1.1",
|
|
"husky": "^6.0.0",
|
|
"jest": "^27.0.3",
|
|
"lint-staged": "^11.0.0",
|
|
"mockttp": "^1.2.2",
|
|
"open": "^8.2.0",
|
|
"prettier": "^2.3.0",
|
|
"supertest": "^6.1.3",
|
|
"ts-jest": "^27.0.2",
|
|
"typescript": "^4.3.2",
|
|
"ws": "^7.4.6"
|
|
},
|
|
"dependencies": {
|
|
"@types/http-proxy": "^1.17.5",
|
|
"http-proxy": "^1.18.1",
|
|
"is-glob": "^4.0.1",
|
|
"is-plain-obj": "^3.0.0",
|
|
"micromatch": "^4.0.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=12.0.0"
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
]
|
|
}
|
|
}
|