UNPKG

authservice-nextjs

Version:

Next.js SDK for Auth Service - Server and client-side authentication with App Router support

67 lines (66 loc) 1.61 kB
{ "name": "authservice-nextjs", "version": "1.0.0", "description": "Next.js SDK for Auth Service - Server and client-side authentication with App Router support", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "dev": "tsc --watch", "test": "jest", "test:watch": "jest --watch", "lint": "eslint src --ext .ts,.tsx", "prepublishOnly": "npm run build" }, "keywords": [ "nextjs", "auth", "authentication", "authorization", "rbac", "permissions", "sdk", "app-router", "pages-router" ], "author": "hasnain3033", "license": "MIT", "dependencies": { "authservice-node": "^1.0.0", "authservice-react-sdk": "^1.0.1", "cookie": "^0.6.0", "jose": "^5.2.0" }, "devDependencies": { "@types/cookie": "^0.6.0", "@types/node": "^20.10.6", "@types/react": "^18.2.46", "@typescript-eslint/eslint-plugin": "^6.18.1", "@typescript-eslint/parser": "^6.18.1", "eslint": "^8.56.0", "jest": "^29.7.0", "next": "^14.0.4", "react": "^18.2.0", "react-dom": "^18.2.0", "ts-jest": "^29.1.1", "typescript": "^5.3.3" }, "peerDependencies": { "next": ">=12.0.0", "react": ">=17.0.0", "react-dom": ">=17.0.0" }, "files": [ "dist", "README.md", "LICENSE" ], "repository": { "type": "git", "url": "git+https://github.com/hasnain3033/nextjs-auth-sdk.git" }, "bugs": { "url": "https://github.com/hasnain3033/nextjs-auth-sdk/issues" }, "homepage": "https://github.com/hasnain3033/nextjs-auth-sdk#readme" }