UNPKG

nextjs-auth-starter

Version:

CLI tool to set up Next.js authentication with better-auth, PostgreSQL, and Drizzle ORM. Usage: npx nextjs-auth-starter init

75 lines (74 loc) 1.91 kB
{ "name": "nextjs-auth-starter", "version": "1.1.5", "description": "CLI tool to set up Next.js authentication with better-auth, PostgreSQL, and Drizzle ORM. Usage: npx nextjs-auth-starter init", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "files": [ "dist", "templates", "bin" ], "bin": { "nextjs-auth-starter": "bin/cli.js" }, "scripts": { "build": "tsup", "dev": "tsup --watch", "test": "node tests/setup.test.js && node tests/templates.test.js && node tests/cli.test.js", "prepublishOnly": "npm run build", "db:generate": "npx drizzle-kit generate", "db:migrate": "npx drizzle-kit migrate", "db:push": "npx drizzle-kit push", "db:studio": "npx drizzle-kit studio" }, "keywords": [ "nextjs", "authentication", "better-auth", "cli", "starter", "setup-tool", "drizzle-orm", "postgresql", "oauth", "google-auth", "email-verification", "password-reset", "shadcn-ui", "mailjet", "typescript" ], "author": "Amin Keshavarzi", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/amin0075/nextjs-auth-starter.git" }, "homepage": "https://github.com/amin0075/nextjs-auth-starter#readme", "bugs": { "url": "https://github.com/amin0075/nextjs-auth-starter/issues" }, "dependencies": { "better-auth": "^1.2.10", "drizzle-orm": "^0.33.0", "drizzle-kit": "^0.24.0", "@neondatabase/serverless": "^0.9.0", "zod": "^3.22.4", "fs-extra": "^11.2.0", "chalk": "^5.3.0", "commander": "^12.0.0" }, "devDependencies": { "@types/node": "^20.0.0", "@types/fs-extra": "^11.0.4", "tsup": "^8.0.0", "typescript": "^5.0.0", "dotenv": "^16.5.0" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0", "next": "^14.0.0 || ^15.0.0" } }