UNPKG

react-use-current

Version:

A lightweight React hook for reactive state management.

64 lines (63 loc) 1.53 kB
{ "name": "react-use-current", "version": "2.0.0", "license": "MIT", "author": "John Soatra", "description": "A lightweight React hook for reactive state management.", "type": "module", "repository": { "type": "git", "url": "https://github.com/JohnSoatra/react-use-current" }, "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "files": [ "dist", "README.md", "LICENSE" ], "publishConfig": { "access": "public" }, "scripts": { "clean": "rimraf dist", "build:dev": "rollup -c --environment env:dev", "build": "npm run clean && rollup -c --environment env:prod", "watch": "rollup -c -w --environment env:dev" }, "peerDependencies": { "react": ">=17", "react-dom": ">=17" }, "devDependencies": { "@rollup/plugin-commonjs": "^25.0.0", "@rollup/plugin-node-resolve": "^15.2.1", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^11.1.0", "@types/react": "^19.2.2", "@types/react-dom": "^19.2.1", "chokidar": "^4.0.3", "rimraf": "^6.1.2", "rollup": "^4.52.4", "rollup-plugin-copy": "^3.5.0", "rollup-plugin-dts": "^6.2.3", "rollup-plugin-typescript2": "^0.36.0", "typescript": "^5.9.3" }, "keywords": [ "react", "react-hooks", "custom-hook", "state-management", "proxy-state", "react-state", "react-utilities", "react-proxy", "use-current", "react-use" ], "dependencies": { "vref": "latest" } }