UNPKG

react-native-axios-jwt

Version:

Axios interceptor to store, transmit, clear and automatically refresh tokens for authentication in a React Native environment

62 lines 1.59 kB
{ "name": "react-native-axios-jwt", "version": "1.8.0", "description": "Axios interceptor to store, transmit, clear and automatically refresh tokens for authentication in a React Native environment", "main": "dist/index.js", "types": "dist/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/mvanroon/react-native-axios-jwt.git" }, "homepage": "https://github.com/mvanroon/react-native-axios-jwt", "author": "Michiel van Roon", "license": "MIT", "devDependencies": { "@react-native-async-storage/async-storage": "^1.15.2", "@types/jest": "^29.0.3", "@types/jsonwebtoken": "^8.5.1", "@typescript-eslint/eslint-plugin": "^5.38.0", "@typescript-eslint/parser": "^5.38.0", "axios": "^0.27.2", "axios-mock-adapter": "^1.20.0", "eslint": "^8.23.1", "jest": "^29.0.3", "jest-environment-jsdom": "^29.0.3", "jsonwebtoken": "^8.5.1", "prettier": "^2.2.1", "ts-jest": "^29.0.1", "typescript": "^4.4.4" }, "peerDependencies": { "@react-native-async-storage/async-storage": "*", "axios": "*" }, "dependencies": { "jwt-decode": "^3.1.2" }, "scripts": { "build": "tsc", "start": "tsc -w", "test": "jest", "prepack": "tsc" }, "keywords": [ "react native", "react-native", "axios", "token", "jwt", "refresh", "authentication", "authorization", "header", "typescript", "ts" ], "bugs": { "url": "https://github.com/mvanroon/react-native-axios-jwt/issues" }, "directories": { "test": "tests" } }