react-use-scroll-position
Version:
A react hook to use scroll position
39 lines (38 loc) • 934 B
JSON
{
"name": "react-use-scroll-position",
"version": "2.0.0",
"description": "A react hook to use scroll position",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"build": "tsc",
"prepare": "npm run build",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/neo/react-use-scroll-position.git"
},
"keywords": [
"scroll",
"position",
"react",
"hook",
"scroll position",
"react hook"
],
"author": "Wenchen Li <neo.li@jam3.com> (https://wenchen.li/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/neo/react-use-scroll-position/issues"
},
"homepage": "https://github.com/neo/react-use-scroll-position#readme",
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@types/react": "^16.8.19",
"react": "^16.8.6",
"typescript": "^3.5.1"
}
}