96 lines
2.4 KiB
JSON
Executable File
96 lines
2.4 KiB
JSON
Executable File
{
|
|
"name": "http-proxy-middleware",
|
|
"version": "1.0.6",
|
|
"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 lint:prettier && yarn lint:tslint",
|
|
"lint:prettier": "prettier --check \"**/*.{js,ts,md}\"",
|
|
"lint:tslint": "yarn tslint -c tslint.json '{lib,test}/**/*.ts'",
|
|
"lint:fix": "prettier --write \"**/*.{js,ts,md}\"",
|
|
"build": "tsc",
|
|
"pretest": "yarn build",
|
|
"test": "jest",
|
|
"coverage": "jest --coverage --coverageReporters=lcov",
|
|
"prepare": "yarn clean && 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",
|
|
"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": "^11.0.0",
|
|
"@commitlint/config-conventional": "^11.0.0",
|
|
"@types/express": "^4.17.3",
|
|
"@types/is-glob": "^4.0.1",
|
|
"@types/jest": "^26.0.14",
|
|
"@types/lodash": "^4.14.162",
|
|
"@types/micromatch": "^4.0.1",
|
|
"@types/node": "^14.11.8",
|
|
"@types/supertest": "^2.0.10",
|
|
"browser-sync": "^2.26.12",
|
|
"connect": "^3.7.0",
|
|
"express": "^4.17.1",
|
|
"husky": "^4.3.0",
|
|
"jest": "^26.5.3",
|
|
"lint-staged": "^10.4.0",
|
|
"mockttp": "^1.0.2",
|
|
"open": "^7.3.0",
|
|
"prettier": "^2.1.2",
|
|
"supertest": "^5.0.0",
|
|
"ts-jest": "^26.4.1",
|
|
"tslint": "^6.1.3",
|
|
"tslint-config-prettier": "^1.18.0",
|
|
"typescript": "^4.0.3",
|
|
"ws": "^7.3.1"
|
|
},
|
|
"dependencies": {
|
|
"@types/http-proxy": "^1.17.4",
|
|
"http-proxy": "^1.18.1",
|
|
"is-glob": "^4.0.1",
|
|
"lodash": "^4.17.20",
|
|
"micromatch": "^4.0.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.0.0"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
]
|
|
}
|
|
}
|