UNPKG

react-jwt

Version:

Small library for decoding json web tokens (JWT)

74 lines 2.19 kB
{ "name": "react-jwt", "version": "1.3.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", "module": "dist/index.modern.js", "source": "src/index.ts", "engines": { "node": ">=10" }, "scripts": { "build": "microbundle-crl --compress --format modern,cjs", "start": "microbundle-crl watch", "prepare": "run-s build", "test": "run-s test:unit test:lint test:build", "test:build": "run-s build", "test:lint": "eslint .", "test:unit": "cross-env CI=1 react-scripts test --env=jsdom", "test:watch": "react-scripts test --env=jsdom", "predeploy": "cd example && yarn install && yarn run build", "deploy": "gh-pages -d example/build" }, "peerDependencies": { "react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "devDependencies": { "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "^13.1.1", "@testing-library/user-event": "^14.1.1", "@types/jest": "^27.4.1", "@types/node": "^17.0.31", "@types/react": "^18.0.8", "@types/react-dom": "^18.0.3", "@typescript-eslint/eslint-plugin": "^5.21.0", "@typescript-eslint/parser": "^5.21.0", "babel-eslint": "^10.1.0", "cross-env": "^7.0.3", "eslint": "^6.8.0", "eslint-config-prettier": "^6.7.0", "eslint-config-standard": "^14.1.0", "eslint-config-standard-react": "^9.2.0", "eslint-plugin-import": "^2.18.2", "eslint-plugin-node": "^11.0.0", "eslint-plugin-prettier": "^3.1.1", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-react": "^7.17.0", "eslint-plugin-standard": "^4.0.1", "gh-pages": "^5.0.0", "microbundle-crl": "^0.13.10", "npm-run-all": "^4.1.5", "prettier": "^2.0.4", "react": "^18.1.0", "react-dom": "^18.1.0", "react-scripts": "^5.0.1", "typescript": "^4.6.4" }, "files": [ "dist" ], "keywords": [ "jwt", "react jwt", "jsonwebtoken", "react", "auth", "authentication" ], "optionalDependencies": { "fsevents": "^2.3.2" } }