react-use-is-scrolled-into-view
Version:
react hook which check virturel dom enters the user's view
43 lines (42 loc) • 1.34 kB
JSON
{
"name": "react-use-is-scrolled-into-view",
"version": "1.0.4",
"description": "react hook which check virturel dom enters the user's view",
"repository": {
"type": "git",
"url": "git@github.com:zachyutw/react-use-is-scrolled-into-view.git"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prettier": "prettier --config .prettierrc --write \"{src,example}/**/*.{js,ts,tsx}\"",
"build": "rollup -c",
"prepare": "yarn run prettier && yarn run build"
},
"keywords": [ "react-hook", "reactjs", "scoll" ],
"author": {
"name": "Zach Yu",
"email": "zachyu.tw@gmail.com"
},
"license": "MIT",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"main": "dist/index.js",
"engines": {
"node": ">=8",
"npm": ">=5"
},
"peerDependencies": {
"react": "^16.8.0"
},
"devDependencies": {
"rollup": "^1.1.2",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-cpy": "^1.1.0",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-typescript2": "^0.19.2",
"rollup-plugin-url": "^2.2.0"
},
"files": [ "dist" ]
}