UNPKG

hiproxy

Version:

hiproxy - lightweight and powerful proxy tool for front-end developer based on Node.js.

107 lines (106 loc) 2.79 kB
{ "name": "hiproxy", "version": "1.3.3", "description": "hiproxy - lightweight and powerful proxy tool for front-end developer based on Node.js.", "main": "src/index.js", "bin": { "hiproxy": "bin/cli.js", "hip": "bin/cli.js" }, "scripts": { "doc": "jsdoc2md src/*.js src/listeners/*.js src/listeners/request/*.js", "pretest": "node scripts/pretest.js", "test": "cross-env NPM_TEST=true nyc mocha test/**/*.test.js test/**/**/*.test.js --timeout 10000 && nyc report --reporter=lcov --reporter=html", "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", "report": "npm test && nyc report --reporter=lcov --reporter=html", "t": "nyc mocha test/proxy/httpserver.test.js && nyc report --reporter=lcov --reporter=html", "nt": "cross-env NPM_TEST=true nyc mocha 'test/core/other/*.test.js' --timeout 10000 && nyc report --reporter=lcov --reporter=html", "ot": "cross-env NPM_TEST=true nyc mocha 'old_test/**/*.test.js' --timeout 10000 && nyc report --reporter=lcov --reporter=html" }, "repository": { "type": "git", "url": "git+https://github.com/hiproxy/hiproxy.git" }, "keywords": [ "nodejs", "proxy", "nginx", "reverse-proxy", "http-proxy", "https-server", "proxy-client", "proxy-server", "httpsport" ], "author": "zdying", "license": "MIT", "bugs": { "url": "https://github.com/hiproxy/hiproxy/issues" }, "homepage": "http://hiproxy.org", "dependencies": { "colors": "^1.1.2", "hemsl": "^1.2.6", "hiproxy-conf-parser": "^1.0.8", "mustache": "^2.3.0", "node-forge": "^0.7.1", "op-browser": "1.0.6", "os-homedir": "^1.0.2", "safe-buffer": "^5.1.1", "simple-mime": "^0.1.0", "step-flow": "^1.1.1", "url-pattern": "^1.0.3" }, "devDependencies": { "codecov": "^2.1.0", "cross-env": "^5.1.1", "ghooks": "^2.0.0", "mocha": "^3.2.0", "nyc": "^10.3.2", "request": "^2.79.0", "semistandard": "^10.0.0", "set-cookie-parser": "^2.1.1" }, "config": { "ghooks": { "pre-commit-1": "./node_modules/.bin/semistandard", "pre-push": "npm test" } }, "files": [ "src", "ssl", "bin", "logo", "README-zh.md", "CONTRIBUTING.md", "CODE_OF_CONDUCT.md" ], "semistandard": { "globals": [ "log", "args", "it", "describe", "beforeEach", "afterEach", "before", "after" ], "ignore": [ "/test/", "/old_test/" ] }, "nyc": { "exclude": [ "src/helpers/mkdirp.js", "src/helpers/showImage.js", "src/helpers/getLocalIP.js", "src/helpers/dirTool.js", "src/helpers/checkServerStarted.js", "src/commands/", "test" ] } }