react-hooks-localstorage
Version:
Complete React hooks library for localStorage with TTL, encryption, caching, sync, and advanced utilities.
68 lines (67 loc) • 1.95 kB
JSON
{
"name": "react-hooks-localstorage",
"version": "1.3.1",
"description": "Complete React hooks library for localStorage with TTL, encryption, caching, sync, and advanced utilities.",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc && rollup -c",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"prepublishOnly": "npm run build",
"prepack": "npm run build"
},
"keywords": [
"localstorage",
"react",
"hooks",
"react-hooks",
"storage"
],
"author": "Alex Almeida Rocha",
"license": "MIT",
"peerDependencies": {
"react": "^16.8.0 || ^17 || ^18 || ^19",
"react-dom": "^16.8.0 || ^17 || ^18 || ^19"
},
"devDependencies": {
"@eslint/js": "^9.30.1",
"@ianvs/prettier-plugin-sort-imports": "^4.4.2",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-typescript": "^12.1.1",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/react-hooks": "^8.0.1",
"@types/crypto-js": "^4.2.2",
"@types/jest": "^30.0.0",
"@types/react": "^18.3.23",
"@types/react-dom": "^18.3.7",
"@typescript-eslint/eslint-plugin": "^8.36.0",
"@typescript-eslint/parser": "^8.36.0",
"eslint": "^9.25.0",
"eslint-plugin-prettier": "^5.5.1",
"eslint-plugin-react-hooks": "^5.2.0",
"globals": "^16.3.0",
"jest": "^30.0.4",
"jest-environment-jsdom": "^30.0.4",
"postcss": "^8.4.49",
"prettier": "3.4.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rollup": "^4.28.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"ts-jest": "^29.4.0",
"tslib": "^2.8.1",
"typescript": "^5.7.2"
},
"dependencies": {
"crypto-js": "^4.2.0"
}
}