use-scroll-position
Version:
https://bmgaynor.gitlab.io/use-scroll-position/#/
63 lines (62 loc) • 1.62 kB
JSON
{
"name": "use-scroll-position",
"version": "0.0.4",
"main": "dist/index.js",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"homepage": "https://bmgaynor.gitlab.io/use-scroll-position/#/",
"keywords": [
"react",
"react-hooks",
"hooks",
"scroll"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://gitlab.com/bmgaynor/use-scroll-position.git"
},
"peerDependencies": {
"react": "^16.8.1"
},
"devDependencies": {
"@svgr/rollup": "^2.4.1",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.5",
"babel-plugin-external-helpers": "^6.22.0",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"docz": "^0.13.7",
"docz-theme-default": "^0.13.7",
"react": "^16.8.1",
"react-dom": "^16.8.1",
"rollup": "^0.64.1",
"rollup-plugin-babel": "^3.0.7",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-postcss": "^1.6.2",
"rollup-plugin-url": "^1.4.0",
"styled-components": "^4.1.3"
},
"scripts": {
"test": "react-scripts test",
"eject": "react-scripts eject",
"start": "docz dev",
"dev": "npm run start",
"build": "npm run build:docs && npm run build:module",
"build:module": "rollup -c",
"build:docs": "docz build",
"watch-module": "rollup -c -w"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}