UNPKG

react-jwt

Version:

Small library for decoding json web tokens (JWT)

56 lines 1.39 kB
{ "name": "react-jwt", "version": "2.0.0", "description": "Small library for decoding json web tokens (JWT)", "author": "Gustavo Velazquez", "license": "MIT", "repository": "https://www.github.com/gustavo0197/react-jwt", "main": "dist/index.js", "source": "src/index.ts", "type": "module", "engines": { "node": ">=16" }, "scripts": { "start": "vite build --watch --mode development", "build": "vite build", "prepare": "npm run build", "test": "vitest --run --coverage", "test:ui": "vitest --ui --coverage", "predeploy": "cd example && npm install && npm run build" }, "peerDependencies": { "react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "devDependencies": { "@testing-library/react": "^16.3.0", "@types/node": "^24.10.0", "@types/react": "^18.2.66", "@types/react-dom": "^18.2.22", "@vitejs/plugin-react": "^5.1.0", "@vitest/coverage-v8": "^4.0.8", "@vitest/ui": "^4.0.8", "happy-dom": "^20.0.10", "prettier": "^3.2.5", "react": "^18.2.0", "react-dom": "^18.2.0", "typescript": "^5.9.3", "vite": "^7.2.2", "vite-plugin-dts": "^4.5.4", "vitest": "^4.0.8" }, "files": [ "dist" ], "keywords": [ "jwt", "react jwt", "jsonwebtoken", "react", "auth", "authentication" ], "optionalDependencies": { "fsevents": "^2.3.3" } }