add auth, drizzle, prisma setup logic with template

This commit is contained in:
Aman Varshney
2025-03-04 09:33:31 +05:30
parent 54d63823bb
commit 792885b9c4
68 changed files with 2692 additions and 921 deletions

View File

@@ -0,0 +1,34 @@
{
"name": "@better-t/server",
"main": "src/index.ts",
"type": "module",
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsc",
"dev:bun": "bun run --hot src/index.ts",
"db:local": "turso dev --db-file local.db",
"db:push": "drizzle-kit push",
"db:studio": "drizzle-kit studio",
"check-types": "tsc --noEmit",
"wrangler:dev": "wrangler dev",
"wrangler:deploy": "wrangler deploy --minify",
"compile": "bun build --compile --minify --sourcemap --bytecode ./src/index.ts --outfile server"
},
"dependencies": {
"@hono/node-server": "^1.13.8",
"@hono/trpc-server": "^0.3.4",
"@libsql/client": "^0.14.0",
"@trpc/server": "^11.0.0-rc.748",
"better-auth": "^1.1.16",
"dotenv": "^16.4.7",
"drizzle-orm": "^0.38.4",
"hono": "^4.7.0",
"zod": "^3.24.1"
},
"devDependencies": {
"tsx": "^4.19.2",
"drizzle-kit": "^0.30.4",
"@types/node": "^22.13.4",
"typescript": "^5.7.3"
}
}