react-storage-complete
Version:
🗄️ React hooks for accessing localStorage and sessionStorage, with syncing and prefix support. The complete package.
93 lines (92 loc) • 2.93 kB
JSON
{
"name": "react-storage-complete",
"version": "1.1.13",
"coreVersion": "3.0.9",
"author": "Justin Mahar <contact@justinmahar.com>",
"description": "🗄️ React hooks for accessing localStorage and sessionStorage, with syncing and prefix support. The complete package.",
"homepage": "https://justinmahar.github.io/react-storage-complete/",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "rm -rf ./dist && tsc",
"test": "npm run build",
"start": "npm run storybook",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"preship": "npm run build && git diff-index HEAD && npm version patch -m \"Build, version, and publish.\"",
"ship": "npm publish --access public",
"postship": "git push",
"update": "rm -rf .lockblocks && git clone -q git@github.com:justinmahar/react-kindling.git ./.lockblocks && lockblocks ./.lockblocks . --verbose && rm -rf .lockblocks && echo '' && echo ' → Be sure to run `npm i` to install new dependencies.' && echo ''"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/justinmahar/react-storage-complete.git"
},
"bugs": {
"url": "https://github.com/justinmahar/react-storage-complete/issues"
},
"keywords": [
"react",
"api",
"browser",
"data",
"decode",
"encode",
"hook",
"hooks",
"local",
"localStorage",
"namespace",
"namespaced",
"prefix",
"prefixed",
"scope",
"scoped",
"session",
"sessionStorage",
"state",
"storage",
"store",
"sync",
"synchronize",
"web"
],
"peerDependencies": {
"react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0"
},
"devDependencies": {
"@storybook/addon-docs": "^7.6.12",
"@storybook/addon-essentials": "^7.6.12",
"@storybook/addon-viewport": "^7.6.12",
"@storybook/blocks": "^7.6.12",
"@storybook/react-webpack5": "^7.6.12",
"@storybook/react": "^7.6.12",
"@types/react": "^18.2.53",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"bootstrap": "^5.2.3",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-storybook": "^0.6.15",
"eslint": "^8.56.0",
"lockblocks": "^1.1.8",
"prettier": "^3.2.5",
"react-bootstrap": "^2.7.0",
"react-dom": "^18.2.0",
"react-html-props": "^2.0.3",
"react-markdown": "^8.0.3",
"react": "^18.2.0",
"remark-gfm": "^3.0.1",
"replace-in-file": "^7.1.0",
"storybook": "^7.6.12",
"typescript": "^5.3.3",
"webpack": "^5.90.1"
},
"dependencies": {
"react-sub-unsub": "^2.1.11"
}
}