-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 2.4 KB
/
Copy pathpackage.json
File metadata and controls
67 lines (67 loc) · 2.4 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
{
"name": "opentranslator",
"version": "3.8.0",
"private": true,
"type": "module",
"description": "DeepL-style AI translator — Vite SPA + Hono Worker on Cloudflare",
"scripts": {
"dev": "pnpm run /dev:api & pnpm run /dev:web",
"/dev:api": "wrangler dev -c wrangler.dev.toml",
"/dev:web": "vite --config web/vite.config.ts",
"build": "vite build --config web/vite.config.ts",
"deploy": "pnpm build && wrangler deploy",
"bundle-experts": "node scripts/bundle-experts.mjs",
"typecheck:api": "pnpm run bundle-experts && tsc --noEmit -p tsconfig.json",
"typecheck:web": "tsc --noEmit -p web/tsconfig.json",
"typecheck": "pnpm run typecheck:api && pnpm run typecheck:web",
"dev:landing": "pnpm --dir landing dev",
"build:landing": "pnpm --dir landing build",
"typecheck:landing": "pnpm --dir landing typecheck",
"db:init": "wrangler d1 execute opentranslator --local -c wrangler.dev.toml --file=src/db/schema.sql",
"db:init:remote": "wrangler d1 execute opentranslator --remote -c wrangler.dev.toml --file=src/db/schema.sql"
},
"engines": {
"node": ">=22.13"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.124.0",
"@fontsource-variable/source-serif-4": "^5.3.0",
"@google/genai": "^2.21.0",
"@lobehub/icons": "^5.18.0",
"@openrouter/sdk": "^1.2.106",
"@radix-ui/react-avatar": "^1.2.6",
"@radix-ui/react-dialog": "^1.1.23",
"@radix-ui/react-dropdown-menu": "^2.1.24",
"@radix-ui/react-label": "^2.1.15",
"@radix-ui/react-select": "^2.3.7",
"@radix-ui/react-separator": "^1.1.15",
"@radix-ui/react-slot": "^1.3.3",
"@radix-ui/react-switch": "^1.3.7",
"@radix-ui/react-tabs": "^1.1.21",
"@radix-ui/react-tooltip": "^1.2.16",
"@tailwindcss/vite": "^4.3.3",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"hono": "^4.13.7",
"lucide-react": "^1.41.0",
"openai": "^7.10.0",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-router-dom": "^7.18.3",
"sonner": "^2.0.8",
"tailwind-merge": "^3.6.0",
"tailwindcss": "^4.3.3",
"tw-animate-css": "^1.4.0",
"yaml": "^2.9.0"
},
"devDependencies": {
"@cloudflare/workers-types": "^5.20260905.1",
"@types/node": "^26.4.1",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.7",
"@vitejs/plugin-react": "^6.1.1",
"typescript": "^7.0.2",
"vite": "^8.2.2",
"wrangler": "^4.129.0"
}
}