UNPKG

@authava/react-client

Version:

React client library for seamless integration with Authava's white-label authentication service

80 lines (79 loc) 1.99 kB
{ "name": "@authava/react-client", "version": "0.1.40", "description": "React client library for seamless integration with Authava's white-label authentication service", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "tsc", "test": "jest", "format": "prettier --write \"src/**/*.ts\" \"src/**/*.tsx\"", "prepare": "npm run build", "prepublishOnly": "npm test", "clean": "rm -rf dist" }, "keywords": [ "react", "nextjs", "auth", "authentication", "session", "white-label", "authava" ], "author": "Ryan Hein <ryan@authava.com>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/authava/react-client.git" }, "bugs": { "url": "https://github.com/authava/react-client/issues" }, "homepage": "https://github.com/authava/react-client#readme", "peerDependencies": { "@authava/client": ">=0.1.36", "react": ">=18.0.0", "react-dom": ">=18.0.0" }, "devDependencies": { "@authava/client": "^0.1.36", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.2.0", "@types/jest": "^29.5.14", "@types/node": "^22.13.10", "@types/react": "^19.0.11", "@types/react-dom": "^19.0.4", "@typescript-eslint/eslint-plugin": "^8.26.1", "@typescript-eslint/parser": "^8.26.1", "eslint": "^9.22.0", "eslint-plugin-react": "^7.37.4", "eslint-plugin-react-hooks": "^5.2.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "prettier": "^3.5.3", "react": "^19.0.0", "react-dom": "^19.0.0", "ts-jest": "^29.2.6", "typescript": "^5.8.2" }, "engines": { "node": ">=16" }, "publishConfig": { "access": "public" } }