29 lines
839 B
JSON
29 lines
839 B
JSON
{
|
|
"name": "cfw-auth",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "wrangler dev",
|
|
"deploy": "wrangler deploy",
|
|
"db:apply:local": "wrangler d1 migrations apply cfw-auth --local",
|
|
"db:check": "node scripts/check-better-auth-migration.mjs",
|
|
"db:generate": "auth generate --config src/auth.migration.ts --output migrations/0001_better_auth_account_center.sql -y",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc --noEmit",
|
|
"ready": "pnpm db:check && pnpm typecheck && pnpm test"
|
|
},
|
|
"dependencies": {
|
|
"@better-auth/passkey": "^1.6.16",
|
|
"better-auth": "^1.6.0",
|
|
"hono": "^4.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/workers-types": "^4.20260601.0",
|
|
"auth": "^1.6.16",
|
|
"typescript": "^5.8.0",
|
|
"vitest": "^3.2.0",
|
|
"wrangler": "^4.20.0"
|
|
}
|
|
}
|