UNPKG

use-draggable-scroll

Version:

React hook to add draggability to scrollable content easily

70 lines (69 loc) 1.49 kB
{ "version": "0.1.0", "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", "files": [ "dist", "src" ], "engines": { "node": ">=10" }, "scripts": { "start": "tsdx watch", "build": "tsdx build", "lint": "tsdx lint", "prepare": "tsdx build", "size": "size-limit", "analyze": "size-limit --why" }, "peerDependencies": { "react": ">=16" }, "husky": { "hooks": { "pre-commit": "tsdx lint" } }, "prettier": { "printWidth": 80, "semi": true, "singleQuote": true, "trailingComma": "es5" }, "name": "use-draggable-scroll", "author": "Guillermo del Molino", "module": "dist/use-draggable-scroll.esm.js", "size-limit": [ { "path": "dist/use-draggable-scroll.cjs.production.min.js", "limit": "10 KB" }, { "path": "dist/use-draggable-scroll.esm.js", "limit": "10 KB" } ], "devDependencies": { "@size-limit/preset-small-lib": "^4.12.0", "@types/react": "^17.0.11", "@types/react-dom": "^17.0.8", "husky": "^6.0.0", "react": "^17.0.2", "react-dom": "^17.0.2", "size-limit": "^4.12.0", "tsdx": "^0.14.1", "tslib": "^2.3.0", "typescript": "^4.3.4" }, "description": "React hook to add draggability to scrollable content easily", "repository": "https://github.com/g-delmo/use-draggable-scroll", "keywords": [ "draggable", "drag", "scroll", "react", "draggability" ] }