Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.06 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 2.06 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
{
"name": "@maplezzk/llm-proxy",
"version": "0.31.0",
"description": "本地统一 LLM 模型代理工具 — 多协议路由、协议互转、流式 SSE 转换、token 统计、协议抓包调试",
"type": "module",
"main": "dist/index.js",
"bin": {
"llm-proxy": "./bin/llm-proxy.js"
},
"files": [
"dist",
"bin",
"locales"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/maplezzk/llm-proxy"
},
"keywords": [
"llm",
"proxy",
"anthropic",
"openai",
"protocol-translation",
"sse",
"streaming",
"cli"
],
"scripts": {
"build": "tsc && npm run build:admin && cp admin-ui/dist/admin-ui.html dist/api/admin-ui.html",
"build:admin": "vite build admin-ui",
"build:app": "bash app/scripts/build.sh",
"build:prod": "esbuild src/index.ts --bundle --platform=node --outfile=dist/bundle.js --format=esm",
"dev": "tsx src/index.ts",
"test": "node --import tsx --test test/**/*.test.ts",
"test:watch": "node --import tsx --watch --test test/**/*.test.ts",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist",
"prepublishOnly": "npm run build && npm test",
"generate:i18n-types": "tsx scripts/generate-i18n-types.ts",
"prebuild": "npm run generate:i18n-types",
"dev:admin": "vite admin-ui"
},
"dependencies": {
"@appica/icons-react": "^1.0.0",
"@appica/ui-react": "^1.0.0",
"@types/better-sqlite3": "^7.6.13",
"better-sqlite3": "^12.11.1",
"i18next": "^26.0.8",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-i18next": "^15.4.0",
"recharts": "^3.0.0",
"yaml": "^2.8.0"
},
"devDependencies": {
"@tailwindcss/vite": "^4.0.0",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^4.7.0",
"esbuild": "^0.25.0",
"tailwindcss": "^4.0.0",
"tsx": "^4.19.0",
"typescript": "^5.7.0",
"vite": "^6.4.3",
"vite-plugin-singlefile": "^2.0.0"
},
"engines": {
"node": ">=20.0.0"
}
}