-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
32 lines (32 loc) · 1.27 KB
/
Copy pathpackage.json
File metadata and controls
32 lines (32 loc) · 1.27 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
{
"name": "9router-api",
"version": "0.5.55",
"description": "Standalone 9Router API server - lightweight LLM proxy without dashboard UI",
"private": true,
"type": "module",
"scripts": {
"start": "tsx server.ts",
"build": "esbuild server.ts --bundle --platform=node --outfile=dist/server.js --format=esm --external:9router --external:open-sse --external:@/* --external:bun:sqlite --external:better-sqlite3 --external:express --external:body-parser --external:debug",
"dev": "tsx watch server.ts",
"test": "vitest run"
},
"dependencies": {
"better-sqlite3": "13.0.3",
"express": "^5.2.1",
"jose": "^6.1.3",
"sql.js": "^1.14.1",
"undici": "^7.19.2",
"uuid": "^13.0.0"
},
"comment_better_sqlite3": "pinned to exact 13.0.3 and kept as a regular dependency (not optional) because it ships prebuilt binaries for Node 26 (ABI 147) that 9router's optional ^12.6.2 copy lacks — src/sqlite-binding-hook.mjs redirects the bare import here, so the install must be guaranteed. sql.js remains the runtime fallback if the native binding cannot load",
"engines": {
"node": ">=22.15"
},
"devDependencies": {
"@types/supertest": "^7.2.1",
"esbuild": "^0.28.2",
"supertest": "^7.2.2",
"tsx": "^4.19.0",
"vitest": "^3.2.0"
}
}