Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.3 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 2.3 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
{
"name": "opencode-router",
"version": "1.0.0",
"description": "Automated proxy discovery, testing, and intelligent routing for OpenCode. Fix connectivity issues and IP-based rate limits with Xray/V2Ray on Linux and Windows.",
"main": "src/backend/server.ts",
"author": "Ehsan Shahriyari <https://github.com/EhsanCreator>",
"license": "MIT",
"homepage": "https://ehsancreator.github.io/OpenCode-Router/",
"repository": {
"type": "git",
"url": "https://github.com/EhsanCreator/OpenCode-Router.git"
},
"bugs": {
"url": "https://github.com/EhsanCreator/OpenCode-Router/issues"
},
"scripts": {
"build:frontend": "cd src/frontend && npx vite build",
"build": "npm run build:frontend",
"start": "npx tsx src/backend/server.ts",
"dev:backend": "npx tsx watch src/backend/server.ts",
"dev:frontend": "cd src/frontend && npx vite",
"test": "npx tsx tests/test-scenarios.ts",
"test:windows": "npx tsx tests/platform-tests.ts",
"provision:xray": "npx tsx scripts/provision-xray.ts",
"package:portable": "npx tsx scripts/package-portable.ts",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"engines": {
"node": ">=22.12.0"
},
"keywords": [
"opencode",
"opencode-router",
"v2ray",
"xray",
"vless",
"vmess",
"trojan",
"shadowsocks",
"proxy",
"rate-limit",
"ubuntu",
"linux",
"windows",
"windows-11",
"cross-platform"
],
"type": "commonjs",
"dependencies": {
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/node": "^26.6.6",
"better-sqlite3": "^13.0.3",
"clsx": "^2.1.1",
"cors": "^2.8.6",
"express": "^5.3.0",
"lucide-react": "^1.68.0",
"motion": "^14.10.1",
"react": "^19.3.1",
"react-dom": "^19.3.1",
"recharts": "^3.10.1",
"sonner": "^2.0.8",
"tailwind-merge": "^3.7.0",
"tsx": "^4.23.15",
"typescript": "^7.0.2"
},
"devDependencies": {
"@tailwindcss/vite": "^4.3.4",
"@types/better-sqlite3": "^9.6.0",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.2.1",
"autoprefixer": "^10.6.2",
"postcss": "^8.5.32",
"tailwindcss": "^4.3.4",
"vite": "^8.3.5",
"vitepress": "^1.6.4"
}
}