Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 4.12 KB
/
Copy pathpackage.json
File metadata and controls
113 lines (113 loc) · 4.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "proxy-chain",
"version": "3.0.1",
"description": "Node.js implementation of a proxy server (think Squid) with support for SSL, authentication, upstream proxy chaining, and protocol tunneling.",
"main": "dist/index.js",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"keywords": [
"proxy",
"squid",
"apify",
"tunnel",
"puppeteer"
],
"author": {
"name": "Apify Technologies",
"email": "support@apify.com",
"url": "https://apify.com"
},
"contributors": [
"Jan Curn <jan@apify.com>"
],
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/apify/proxy-chain"
},
"bugs": {
"url": "https://github.com/apify/proxy-chain/issues"
},
"homepage": "https://blog.apify.com/how-to-make-headless-chrome-and-puppeteer-use-a-proxy-server-with-authentication-249a21a79212",
"files": [
"dist",
"!**/*.tsbuildinfo"
],
"scripts": {
"build:watch": "tsc -w",
"build": "tsc",
"clean": "rimraf dist",
"prepublishOnly": "pnpm run build",
"local-proxy": "tsx test/utils/run_locally.ts",
"test": "vitest run --coverage",
"test:unit": "vitest run --project unit",
"test:e2e": "vitest run --project e2e --coverage",
"test:bun": "bun --bun run vitest run --project unit",
"test:bun:e2e:full": "cross-env NODE_OPTIONS=--insecure-http-parser bun --bun run vitest run --project e2e",
"test:bun:e2e:compatible": "pnpm run test:bun:e2e:full test/e2e/tcp_tunnel.ts -t 'throws error'",
"test:bun:all": "pnpm run test:bun && pnpm run test:bun:e2e:full",
"test:bun:supported": "pnpm run test:bun && pnpm run test:bun:e2e:compatible",
"docker:build": "docker build --tag proxy-chain-tests --file test/Dockerfile .",
"docker:run": "docker run --rm --add-host localhost-test:127.0.0.1 proxy-chain-tests",
"test:docker": "pnpm run docker:build && pnpm run docker:run -- test",
"test:docker:bun": "pnpm run docker:build && pnpm run docker:run -- test:bun:supported",
"test:docker:bun:unit": "pnpm run docker:build && pnpm run docker:run -- test:bun",
"test:docker:bun:e2e:compatible": "pnpm run docker:build && pnpm run docker:run -- test:bun:e2e:compatible",
"test:docker:bun:e2e:full": "pnpm run docker:build && pnpm run docker:run -- test:bun:e2e:full",
"test:docker:bun:full": "pnpm run docker:build && pnpm run docker:run -- test:bun:all",
"test:docker:all": "bash scripts/test-docker-all.sh",
"type-check": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"engines": {
"node": ">=20.11"
},
"devEngines": {
"packageManager": {
"name": "pnpm",
"version": "10.33.4",
"onFail": "warn"
}
},
"packageManager": "pnpm@10.33.4",
"devDependencies": {
"@apify/eslint-config": "^2.0.6",
"@apify/tsconfig": "^0.2.0",
"@types/basic-auth": "^1.1.8",
"@types/body-parser": "^1.19.6",
"@types/express": "^5.0.6",
"@types/node": "^26.6.4",
"@types/underscore": "^1.13.0",
"@types/ws": "^8.18.2",
"@vitest/coverage-v8": "^4.1.12",
"basic-auth": "^3.0.0",
"basic-auth-parser": "^0.0.2",
"body-parser": "^2.3.0",
"cross-env": "^7.0.3",
"eslint": "^9.39.5",
"express": "^5.2.1",
"portastic": "^1.0.1",
"proxy": "^4.1.0",
"puppeteer": "^25.12.0",
"rimraf": "^6.1.3",
"socksv5": "^0.0.6",
"tsx": "^4.23.15",
"typescript": "^6.0.3",
"typescript-eslint": "^8.71.0",
"underscore": "^1.13.8",
"undici": "^7.30.0",
"vitest": "^4.1.12",
"ws": "^8.22.0"
},
"dependencies": {
"socks": "^2.8.10",
"socks-proxy-agent": "^10.1.0",
"tslib": "^2.8.1"
}
}