UNPKG

use-scroll-to

Version:

A type safe React hook to handle scroll actions

59 lines (58 loc) 1.17 kB
{ "version": "0.6.0", "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", "files": [ "dist", "src" ], "keywords": [ "scroll", "useScroll", "useScrollHook", "useScrollTo", "scroll hook" ], "engines": { "node": ">=10" }, "scripts": { "start": "tsdx watch", "build": "tsdx build", "test": "tsdx test --passWithNoTests", "lint": "tsdx lint", "prepare": "tsdx build" }, "peerDependencies": { "react": ">=16" }, "husky": { "hooks": { "pre-commit": "tsdx lint" } }, "prettier": { "printWidth": 80, "semi": true, "singleQuote": true, "trailingComma": "es5" }, "repository": { "type": "git", "url": "git+https://github.com/deadkff01/use-scroll-to.git" }, "name": "use-scroll-to", "author": "deadkff01 <kafferdennis@gmail.com>", "module": "dist/use-scroll-to.esm.js", "devDependencies": { "@types/react": "^16.9.34", "@types/react-dom": "^16.9.7", "husky": "^4.2.5", "react": "^16.13.1", "react-dom": "^16.13.1", "tsdx": "^0.13.2", "tslib": "^1.11.1", "typescript": "^3.8.3" } }