-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 1.85 KB
/
Copy pathpackage.json
File metadata and controls
66 lines (66 loc) · 1.85 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
{
"name": "traforo",
"version": "0.7.2",
"description": "HTTP tunnel via Cloudflare Durable Objects and WebSockets. Edge caching and password protection.",
"type": "module",
"license": "MIT",
"repository": "https://github.com/remorses/traforo",
"engines": {
"node": ">=18.0.0"
},
"bin": {
"traforo": "./dist/cli.js"
},
"files": [
"dist"
],
"exports": {
"./client": {
"types": "./dist/client.d.ts",
"import": "./dist/client.js"
},
"./types": {
"types": "./dist/types.d.ts",
"import": "./dist/types.js"
},
"./run-tunnel": {
"types": "./dist/run-tunnel.d.ts",
"import": "./dist/run-tunnel.js"
}
},
"scripts": {
"build": "tsc -p tsconfig.client.json && chmod +x dist/cli.js",
"prepublishOnly": "pnpm build",
"dev": "wrangler dev -c worker/wrangler.json",
"deploy": "wrangler deploy -c worker/wrangler.json --env preview",
"deploy:prod": "wrangler deploy -c worker/wrangler.json # only run if user asks specifically!",
"typecheck": "tsc --noEmit",
"typecheck:client": "tsc --noEmit -p tsconfig.client.json",
"typecheck:test": "tsc --noEmit -p tsconfig.test.json",
"cli": "tsx src/cli.ts",
"test": "vitest --run"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20250712.0",
"@types/http-cache-semantics": "^4.2.0",
"@types/node": "^22.0.0",
"@types/proxy-from-env": "^1.0.4",
"@types/ws": "^8.18.1",
"tsx": "^4.20.5",
"typescript": "^5.7.0",
"undici-types": "~6.21.0",
"vite": "^7.1.4",
"vitest": "^3.2.4",
"wrangler": "^4.24.3"
},
"dependencies": {
"goke": "^6.8.0",
"http-cache-semantics": "^4.2.0",
"https-proxy-agent": "^7.0.6",
"proxy-from-env": "^2.1.0",
"socks-proxy-agent": "^8.0.5",
"std-env": "^4.1.0",
"string-dedent": "^3.0.2",
"ws": "^8.19.0"
}
}