-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 2.88 KB
/
package.json
File metadata and controls
69 lines (69 loc) · 2.88 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
{
"name": "qwen-proxy",
"version": "1.1.0",
"description": "A proxy server that exposes Qwen models through an OpenAI-compatible API",
"main": "dist/src/index.js",
"files": [
"dist",
"docs",
".env.example"
],
"bin": {
"qwen-proxy": "dist/src/cli/qwen-proxy.js"
},
"scripts": {
"prepare": "npm run build:core",
"prepack": "npm run build:core",
"start": "npm run build:core && node dist/src/cli/qwen-proxy.js serve --headless",
"dev": "npm run build:core && node dist/src/cli/qwen-proxy.js serve --headless",
"serve:headless": "npm run build:core && node dist/src/cli/qwen-proxy.js serve --headless",
"build:core": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.json && tsc -p tsconfig.tui2.json && node dist/scripts/prepare-bin.js",
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.tui2.json",
"test": "npm run build:core && node dist/scripts/validate-runtime.js && node dist/scripts/validate-first-run.js && node dist/scripts/smoke-packaged-install.js",
"test:simple": "npm run build:core && node dist/scripts/validate-runtime.js",
"test:auth-clean-home": "npm run build:core && node dist/scripts/validate-clean-home-auth.js",
"test:first-run": "npm run build:core && node dist/scripts/validate-first-run.js",
"test:install-smoke": "npm run build:core && node dist/scripts/smoke-packaged-install.js",
"test:console-redirect": "npm run build:core && node dist/scripts/validate-console-redirect.js",
"test:proxy": "npm run build:core && node dist/scripts/validate-runtime.js",
"test:tui": "npm run build:core",
"test:all": "npm run build:core && node dist/test-all-accounts.js",
"auth": "npm run build:core && node dist/authenticate.js",
"auth:list": "npm run build:core && node dist/authenticate.js list",
"auth:add": "npm run build:core && node dist/authenticate.js add",
"auth:remove": "npm run build:core && node dist/authenticate.js remove",
"auth:counts": "npm run build:core && node dist/authenticate.js counts",
"auth:tokens": "npm run build:core && node dist/usage.js",
"tokens": "npm run build:core && node dist/usage.js",
"usage": "npm run build:core && node dist/usage.js"
},
"keywords": [
"qwen",
"openai",
"proxy",
"api"
],
"author": "Qwen Code Developer",
"license": "Apache-2.0",
"dependencies": {
"@mariozechner/pi-tui": "^0.63.2",
"axios": "^1.11.0",
"better-sqlite3": "^12.8.0",
"chalk": "^4.1.2",
"cli-table3": "^0.6.5",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"open": "^8.4.0",
"qrcode-terminal": "^0.12.0",
"tiktoken": "^1.0.22",
"undici": "^7.13.0",
"winston": "^3.19.0"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^25.5.0",
"nodemon": "^3.0.1",
"typescript": "^6.0.2"
}
}