UNPKG

react-native-use-persist-storage

Version:
66 lines (65 loc) 1.77 kB
{ "name": "react-native-use-persist-storage", "version": "1.0.2", "main": "dist/index.js", "types": "types/index.d.ts", "description": "Persist and rehydrate a context store by React Hooks", "scripts": { "test": "jest --runInBand", "build": "tsc --pretty --skipLibCheck", "prepublishOnly": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/visuallylab/react-native-usePersistStorage.git" }, "keywords": [ "react-native", "hooks", "async-storage", "sensitive-info", "persist-storage" ], "author": { "name": "Meng-Tse Hang & VisuallyLab", "email": "a54383813@gmail.com" }, "bugs": { "url": "https://github.com/visuallylab/react-native-usePersistStorage/issues" }, "license": "MIT", "peerDependencies": { "react": ">=16.8.1", "react-native": ">=0.59.0" }, "dependencies": { "@react-native-async-storage/async-storage": "^1.15.1", "react-native-sensitive-info": "^5.5.4" }, "devDependencies": { "@babel/core": "^7.7.5", "@babel/preset-env": "^7.7.6", "@babel/preset-typescript": "^7.7.4", "@testing-library/react-hooks": "^3.2.1", "@types/jest": "^24.0.23", "@types/react": "^16.9.16", "@types/react-native": "^0.60.25", "@visuallylab/tslint-config-frontend": "^1.0.13", "babel-jest": "^24.9.0", "babel-plugin-transform-flow-strip-types": "^6.22.0", "jest": "^24.9.0", "react": "^16.9.0", "react-native": "^0.61.5", "react-test-renderer": "^16.9.0", "tslint": "^5.20.1", "typescript": "^3.7.3" }, "jest": { "setupFiles": [ "./tests/setup.ts" ], "transformIgnorePatterns": [ "node_modules/(?!(@react-native-community|react-native)/)" ] } }