Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.62 KB
/
Copy pathpackage.json
File metadata and controls
86 lines (86 loc) · 2.62 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
{
"name": "opencode-router",
"version": "1.0.0",
"description": "OpenCode Router — multi-provider LLM gateway with OpenAI- and Anthropic-compatible APIs, provider rotation and a premium dashboard.",
"keywords": [
"llm-gateway",
"ai-gateway",
"openai-compatible",
"anthropic",
"chat-completions",
"responses-api",
"messages-api",
"tool-calling",
"vision",
"reasoning",
"provider-rotation",
"rate-limit",
"fastify",
"typescript",
"nodejs",
"sqlite",
"pnpm",
"tailwindcss",
"react",
"glassmorphism"
],
"license": "MIT",
"author": "Phạm Văn Định",
"type": "module",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/dinhdev666/opencode-router.git"
},
"homepage": "https://github.com/dinhdev666/opencode-router#readme",
"bugs": {
"url": "https://github.com/dinhdev666/opencode-router/issues"
},
"engines": {
"node": ">=22.13.0",
"pnpm": ">=10"
},
"scripts": {
"dev": "tsx watch src/index.ts",
"dev:web": "vite --config web/vite.config.ts",
"build": "tsc -p tsconfig.json && vite build --config web/vite.config.ts",
"build:server": "tsc -p tsconfig.json",
"build:web": "vite build --config web/vite.config.ts",
"start": "node dist/src/index.js",
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p web/tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit",
"test": "vitest run",
"test:e2e": "tsx scripts/e2e.ts",
"test:live": "tsx scripts/live-check.ts",
"mock": "tsx scripts/mock-upstream.ts",
"check:docs": "tsx scripts/check-docs.ts",
"check:env-example": "tsx scripts/check-env-example.ts",
"self-test:docs": "tsx scripts/check-docs.ts --self-test && tsx scripts/check-env-example.ts --self-test",
"self-test:commits": "node scripts/check-commit-messages.mjs --self-test",
"verify": "tsx scripts/verify.ts",
"lint:commits": "node scripts/check-commit-messages.mjs"
},
"dependencies": {
"@fastify/cookie": "^11.0.2",
"@fastify/static": "^8.3.0",
"@fontsource-variable/inter": "^5.3.0",
"fastify": "^5.6.1",
"pino-pretty": "^13.1.2",
"react-router-dom": "^7.18.7"
},
"devDependencies": {
"@tailwindcss/vite": "^4.1.14",
"@types/node": "^24.7.1",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"@vitejs/plugin-react": "^5.0.4",
"lucide-react": "^0.545.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"tailwindcss": "^4.1.14",
"tsx": "^4.20.6",
"typescript": "^5.9.3",
"vite": "^7.1.9",
"vitest": "^3.2.4"
},
"packageManager": "pnpm@10.18.0"
}