UNPKG

react-auth-kit

Version:

Authentication Library for React, which makes Token based auth very easy

76 lines (75 loc) 1.94 kB
{ "name": "react-auth-kit", "version": "3.1.3", "description": "Authentication Library for React, which makes Token based auth very easy", "keywords": [ "react", "auth", "authentication", "jwt", "jsonwebtoken", "token" ], "author": "Arkadip Bhattacharya <hi@arkadip.dev>", "homepage": "https://authkit.arkadip.dev", "license": "MIT", "source": "src/index.tsx", "main": "index.js", "module": "index.js", "types": "index.d.ts", "directories": { "src": "src", "test": "__tests__" }, "files": [ "hooks", "utils", "*.js", "*.d.ts" ], "exports": { ".": "./index.js", "./errors": "./errors.js", "./AuthContext": "./AuthContext.js", "./createStore": "./createStore.js", "./AuthProvider": "./AuthProvider.js", "./createRefresh": "./createRefresh.js", "./hooks/*": "./hooks/*.js", "./utils/*": "./utils/*.js" }, "repository": { "type": "git", "url": "git+https://github.com/react-auth-kit/react-auth-kit.git" }, "scripts": { "build": "tsc --project tsconfig.json && babel src --out-dir . --extensions \".tsx,.ts,.js,.jsx\"", "test": "jest", "lint": "eslint src", "test:watch": "jest --watch" }, "bugs": { "url": "https://github.com/react-auth-kit/react-auth-kit/issues" }, "devDependencies": { "@testing-library/react": "14.2.1", "@types/jest": "29.5.12", "@types/js-cookie": "3.0.6", "@types/node": "20.11.27", "@types/react": "18.2.66", "@types/react-dom": "18.2.22", "jest": "29.7.0", "jest-environment-jsdom": "^29.4.3", "next": "^14.0.4", "ts-jest": "29.1.2" }, "dependencies": { "js-cookie": "^3.0.1", "rxjs": "^7.8.1" }, "peerDependencies": { "next": ">=13.0 || ^14.x", "react": ">=16.8.0 || ^17.x || ^18.x", "react-dom": ">=16.8.0 || ^17.x || ^18.x" }, "gitHead": "0b3c26dd93193b01e03e28e2cfbd76e625d45035" }