UNPKG

next-auth-pubkey

Version:

A light-weight Lightning and Nostr auth provider for your Next.js app that's entirely self-hosted and plugs seamlessly into the next-auth framework.

94 lines (93 loc) 2.28 kB
{ "name": "next-auth-pubkey", "version": "1.0.10", "type": "module", "description": "A light-weight Lightning and Nostr auth provider for your Next.js app that's entirely self-hosted and plugs seamlessly into the next-auth framework.", "license": "ISC", "homepage": "https://github.com/jowo-io/next-auth-pubkey/", "bugs": { "url": "https://github.com/jowo-io/next-auth-pubkey/issues" }, "author": "Jowo <me@jowo.io>", "repository": { "type": "git", "url": "git+https://github.com/jowo-io/next-auth-pubkey.git" }, "contributors": [], "keywords": [ "react", "nodejs", "oauth", "jwt", "oauth2", "authentication", "nextjs", "nextauth", "lightning", "lightning-network", "nostr", "pubkey", "npub", "bitcoin", "lnurl", "lnurl-auth" ], "files": [ "generators/**/*.d.ts", "generators/**/*.js", "hooks/**/*.d.ts", "hooks/**/*.js", "utils/**/*.d.ts", "utils/**/*.js", "server/**/*.d.ts", "server/**/*.js", "main/**/*.d.ts", "main/**/*.js", "index.d.ts", "index.js" ], "main": "./index.js", "scripts": { "build": "tsc && tsc-alias", "clean": "rm -rf main server hooks utils generators index.d.ts index.d.ts.map index.js", "dev": "concurrently \"tsc -w\" \"tsc-alias -w\"", "test": "jest --watch", "prebuild": "npm run clean && jest" }, "engines": { "node": ">=14" }, "peerDependencies": { "next": "^15.4.2", "next-auth": "^4", "react": "^17.0.2 || ^18 || ^19", "react-dom": "^17.0.2 || ^18 || ^19" }, "dependencies": { "@noble/curves": "^1.9.4", "jose": "^5.1.0", "lnurl": "^0.25.2", "lodash.merge": "^4.6.2", "preact": "^10.19.2", "preact-render-to-string": "^6.3.1", "qrcode": "^1.5.3", "zod": "^3.22.2" }, "devDependencies": { "@types/jest": "^29.5.8", "@types/lodash.merge": "^4.6.9", "@types/node": "20.5.9", "@types/qrcode": "^1.5.4", "@types/react": "18.2.21", "concurrently": "^8.2.2", "eslint": "8.48.0", "jest": "^29.7.0", "next": "^15.4.2", "next-auth": "^4", "react": "^19.1.0", "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "tsc-alias": "^1.8.8", "typescript": "^5.2.2" } }