38 lines
1.3 KiB
JSON
38 lines
1.3 KiB
JSON
{
|
|
"name": "cfw-auth",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"packageManager": "pnpm@10.33.0",
|
|
"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 docs/schema/better-auth-target.sql -y",
|
|
"test": "vitest run",
|
|
"api:test:live": "vitest run tests/auth-live-api.test.ts",
|
|
"api:test:business": "vitest run tests/auth-business-scenarios.test.ts",
|
|
"api:test:contract": "bash scripts/api-contract-test.sh",
|
|
"api:test:bootstrap": "node scripts/bootstrap-api-test-fixtures.mjs",
|
|
"typecheck": "tsc --noEmit",
|
|
"ready": "pnpm db:check && pnpm typecheck && pnpm test"
|
|
},
|
|
"dependencies": {
|
|
"@better-auth/api-key": "^1.6.16",
|
|
"@better-auth/expo": "^1.6.16",
|
|
"@better-auth/i18n": "^1.6.16",
|
|
"@better-auth/passkey": "^1.6.16",
|
|
"better-auth": "^1.6.0",
|
|
"hono": "^4.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/workers-types": "^4.20260601.0",
|
|
"@types/node": "^24.13.1",
|
|
"auth": "1.6.16",
|
|
"typescript": "^5.8.0",
|
|
"vitest": "^3.2.0",
|
|
"wrangler": "^4.20.0"
|
|
}
|
|
}
|