This commit is contained in:
2025-10-21 13:41:30 +08:00
parent 6538ffce90
commit c0792438a2
6 changed files with 192 additions and 2073 deletions

View File

@@ -1,20 +1,18 @@
{
"name": "server",
"type": "module",
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsc",
"start": "node dist/src/index.js"
"dev": "bun --watch src/index.ts",
"build": "bun build src/index.ts --outdir dist --target bun",
"start": "bun dist/index.js"
},
"dependencies": {
"@hono/node-server": "^1.19.5",
"@libsql/client": "^0.15.0",
"drizzle-kit": "^0.31.5",
"drizzle-orm": "^0.44.6",
"hono": "^4.10.1"
},
"devDependencies": {
"@types/node": "^20.0.0",
"tsx": "^4.0.0",
"@types/bun": "latest",
"typescript": "^5.0.0"
}
}