refactor: 移除java项目,改用hono + vercel function实现后端 (#1)

Co-authored-by: gin <gin-18@qq.com>
Co-authored-by: gin <dengxinmin@owlscm.com>
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
2026-06-17 20:58:00 +08:00
parent 2757a4fb49
commit 1c3f8b39a3
605 changed files with 13301 additions and 31274 deletions
+40
View File
@@ -0,0 +1,40 @@
{
"name": "@collab_ledger/backend",
"version": "0.1.0",
"private": true,
"type": "module",
"engines": {
"node": ">=20"
},
"scripts": {
"dev": "tsx watch src/dev.ts",
"dev:vercel": "vercel dev",
"dev:node": "tsx watch src/dev.ts",
"build": "tsc --noEmit",
"prisma:generate": "prisma generate --schema prisma/schema.prisma",
"postinstall": "pnpm prisma:generate",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@hono/node-server": "^1.13.7",
"@hono/zod-validator": "^0.3.0",
"@prisma/client": "^5.16.2",
"bcryptjs": "^2.4.3",
"dotenv": "^16.4.7",
"hono": "^4.5.8",
"ioredis": "^5.4.1",
"jose": "^5.6.3",
"mime-types": "^2.1.35",
"prisma": "^5.16.2",
"svg-captcha": "^1.4.0",
"xlsx": "^0.18.5",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.6",
"@types/mime-types": "^2.1.4",
"@types/node": "^22.10.1",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
}
}