-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.32 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 2.32 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
{
"name": "@lmrouter/cli",
"version": "0.1.11",
"description": "An open-source, all-in-one AI API router",
"homepage": "https://lmrouter.com/",
"bugs": {
"url": "https://github.com/LMRouter/lmrouter/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/LMRouter/lmrouter.git"
},
"license": "MIT",
"author": "LMRouter Contributors",
"type": "module",
"main": "dist/index.js",
"bin": {
"lmrouter": "cli.js"
},
"exports": {
"./types": {
"types": "./dist/types/index.d.ts",
"import": "./dist/types/index.js"
}
},
"scripts": {
"dev": "tsx watch src/index.ts config/config.yaml",
"dev:worker": "wrangler dev --tsconfig tsconfig.worker.json",
"build": "tsc",
"start": "node dist/index.js config/config.yaml",
"deploy": "wrangler deploy --minify --tsconfig tsconfig.worker.json",
"deploy:staging": "wrangler deploy --env staging --minify --tsconfig tsconfig.worker.json",
"cf-typegen": "wrangler types --env-interface CloudflareBindings --tsconfig tsconfig.worker.json",
"lint": "prettier --check .",
"lint:fix": "prettier --write .",
"auth:generate": "LMROUTER_CONFIG=$(base64 -w0 config/config.yaml) npx @better-auth/cli generate && mv auth-schema.ts src/models/auth.ts",
"db:generate": "NODE_OPTIONS='--import tsx' LMROUTER_CONFIG=$(base64 -w0 config/config.yaml) drizzle-kit generate",
"db:migrate": "LMROUTER_CONFIG=$(base64 -w0 config/config.yaml) drizzle-kit migrate",
"prepublishOnly": "npm run build"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.57.0",
"@better-auth/stripe": "^1.3.8",
"@cloudflare/workers-types": "^4.20250906.0",
"@google/genai": "^1.17.0",
"@hono/node-server": "^1.19.1",
"@neondatabase/serverless": "^1.0.1",
"@react-email/render": "^1.2.3",
"@upstash/redis": "^1.35.3",
"better-auth": "^1.3.8",
"decimal.js": "^10.6.0",
"drizzle-orm": "^0.44.5",
"hono": "^4.9.6",
"json-logic-js": "^2.0.5",
"music-metadata": "^11.8.3",
"openai": "^5.19.1",
"resend": "^6.0.3",
"stripe": "^18.5.0",
"yaml": "^2.8.1"
},
"devDependencies": {
"@types/json-logic-js": "^2.0.8",
"@types/node": "^20.19.13",
"drizzle-kit": "^0.31.4",
"prettier": "^3.6.2",
"tsx": "^4.20.5",
"typescript": "^5.9.2",
"wrangler": "^4.34.0"
}
}