UNPKG

@edpi/react-scroll-position

Version:

Remember and restore React scroll position for the nodes.

38 lines (37 loc) 997 B
{ "name": "@edpi/react-scroll-position", "version": "1.0.3", "description": "Remember and restore React scroll position for the nodes.", "main": "dist/index.js", "types": "index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/bonnevoyager/react-scroll-position.git" }, "keywords": [ "react", "scroll", "scroll-position" ], "author": "Krzysztof Gutkowski", "license": "MIT", "bugs": { "url": "https://github.com/bonnevoyager/react-scroll-position/issues" }, "homepage": "https://github.com/bonnevoyager/react-scroll-position#readme", "devDependencies": { "@babel/cli": "^7.11.6", "@babel/core": "^7.11.6", "@babel/preset-env": "^7.11.5", "@babel/preset-react": "^7.10.4", "cross-env": "^7.0.2", "npm-run-all": "^4.1.5" }, "peerDependencies": { "react": "^16.8.0" }, "scripts": { "build": "babel src --out-dir dist", "build:prod": "cross-env NODE_ENV=production yarn build" } }