mirror of
https://github.com/d0zingcat/cors-anywhere.git
synced 2026-05-13 15:09:25 +00:00
Notes: - npm run test also runs the memory tests, which might be flaky on some systems. - npm run test-coverage only runs the unit tests (it can't run the memory test anyway because the memory tests create a Node child process, and istanbul cannot cover that).
46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
{
|
|
"name": "cors-anywhere",
|
|
"version": "0.3.0",
|
|
"description": "CORS Anywhere is a reverse proxy which adds CORS headers to the proxied request. Request URL is taken from the path",
|
|
"license": "MIT",
|
|
"author": "Rob Wu <rob@robwu.nl>",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Rob--W/cors-anywhere.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/Rob--W/cors-anywhere/issues/",
|
|
"email": "rob@robwu.nl"
|
|
},
|
|
"keywords": [
|
|
"cors",
|
|
"cross-domain",
|
|
"http-proxy",
|
|
"proxy",
|
|
"heroku"
|
|
],
|
|
"main": "./lib/cors-anywhere.js",
|
|
"dependencies": {
|
|
"http-proxy": "1.11.1",
|
|
"proxy-from-env": "0.0.1",
|
|
"requires-port": "1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"coveralls": "^2.11.6",
|
|
"eslint": "^2.2.0",
|
|
"istanbul": "^0.4.2",
|
|
"mocha": "~2.2.4",
|
|
"nock": "~1.9.0",
|
|
"supertest": "~0.15.0"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint .",
|
|
"test": "mocha ./test/test*.js --reporter spec",
|
|
"test-coverage": "istanbul cover ./node_modules/.bin/_mocha -- test/test.js --reporter spec"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.6.6",
|
|
"npm": ">=1.1.0"
|
|
}
|
|
}
|