UNPKG

react-localstorage-hooks

Version:

A collection of React hooks for reactively managing localStorage

63 lines (62 loc) 1.55 kB
{ "name": "react-localstorage-hooks", "version": "1.0.2", "description": "A collection of React hooks for reactively managing localStorage", "keywords": [ "react", "reactjs", "localStorage", "hooks", "cross-tab", "sync", "utils", "lib" ], "author": "Akash Hamirwasia", "license": "MIT", "main": "lib/index.js", "module": "esm/index.js", "sideEffects": false, "files": [ "lib/", "esm/" ], "types": "lib/index.d.ts", "typings": "lib/index.d.ts", "scripts": { "build:cjs": "tsc", "build:es": "tsc -m esNext --outDir esm", "build": "npm run build:cjs && npm run build:es", "test": "jest", "test:watch": "jest --watchAll" }, "repository": { "type": "git", "url": "https://github.com/blenderskool/react-localstorage-hooks" }, "bugs": { "url": "https://github.com/blenderskool/react-localstorage-hooks/issues" }, "homepage": "https://github.com/blenderskool/react-localstorage-hooks#readme", "peerDependencies": { "react": "^16.8.0 || ^17.0.0", "react-dom": "^16.8.0 || ^17.0.0" }, "devDependencies": { "@babel/core": "^7.14.6", "@babel/preset-env": "^7.14.7", "@babel/preset-typescript": "^7.14.5", "@types/jest": "^26.0.23", "babel-jest": "^27.0.5", "@testing-library/react-hooks": "^7.0.0", "@types/react": "^17.0.11", "jest": "^27.0.5", "react": "17.0.2", "react-dom": "17.0.2", "ts-jest": "^27.0.3", "typescript": "4.1.5" }, "dependencies": { "tslib": "^2.3.0" } }