UNPKG

next-pocketbase-auth

Version:

Wrapper for Next.js applications using PocketBase, with support for both client and server components

76 lines (75 loc) 1.79 kB
{ "name": "next-pocketbase-auth", "version": "0.1.1", "description": "Wrapper for Next.js applications using PocketBase, with support for both client and server components", "files": [ "dist", "README.md", "LICENSE" ], "repository": { "type": "git", "url": "https://github.com/g12i/next-pocketbase-auth" }, "homepage": "https://g12i.github.io/next-pocketbase-auth/", "main": "./dist/next-pocketbase-auth.es.js", "exports": { ".": { "import": "./dist/next-pocketbase-auth.es.js", "require": "./dist/next-pocketbase-auth.cjs", "types": "./dist/index.d.ts" } }, "type": "module", "scripts": { "build": "vite build && tsc --emitDeclarationOnly" }, "keywords": [ "nextjs", "next", "pocketbase", "auth", "authentication", "server-components", "client-components", "typescript", "react", "middleware", "session", "cookies", "oauth" ], "author": "Wojciech Grzebieniowski <grzebieniowski@gmail.com>", "license": "ISC", "bugs": { "url": "https://github.com/g12i/next-pocketbase-auth/issues" }, "engines": { "node": ">=18.17.0" }, "peerDependencies": { "next": "^15", "pocketbase": "^0.21.5 || ^0.22.0", "react": "^18 || ^19", "react-dom": "^18 || ^19" }, "devDependencies": { "@eslint/js": "^9.15.0", "@types/js-cookie": "^3.0.6", "@types/node": "^22.9.3", "@types/react": "^18.3.12", "eslint": "^9.15.0", "globals": "^15.12.0", "next": "^15.0.3", "pocketbase": "^0.22.1", "prettier": "^3.3.3", "react": "^18.3.1", "react-dom": "^18.3.1", "typescript": "^5.7.2", "typescript-eslint": "^8.15.0", "vite": "^5.4.11" }, "dependencies": { "js-cookie": "^3.0.5" } }