UNPKG

react-use-draggable-scroll

Version:

[![NPM Version](https://img.shields.io/npm/v/react-use-draggable-scroll)](https://www.npmjs.com/package/react-use-draggable-scroll)

90 lines (89 loc) 2.21 kB
{ "version": "0.4.7", "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", "files": [ "dist", "src" ], "engines": { "node": ">=10" }, "scripts": { "start": "tsdx watch", "build": "tsdx build", "test": "tsdx test --passWithNoTests", "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": false, "trailingComma": "es5" }, "name": "react-use-draggable-scroll", "author": "Renato Fuzaro Miotto", "repository": { "type": "git", "url": "https://github.com/rfmiotto/react-use-draggable-scroll.git" }, "homepage": "https://github.com/rfmiotto/react-use-draggable-scroll", "keywords": [ "react", "hook", "drag", "scroll", "mouse" ], "module": "dist/react-use-draggable-scroll.esm.js", "size-limit": [ { "path": "dist/react-use-draggable-scroll.cjs.production.min.js", "limit": "10 KB" }, { "path": "dist/react-use-draggable-scroll.esm.js", "limit": "10 KB" } ], "devDependencies": { "@size-limit/preset-small-lib": "^5.0.2", "@types/react": "^17.0.17", "@types/react-dom": "^17.0.9", "@typescript-eslint/eslint-plugin": "^4.29.0", "@typescript-eslint/parser": "^4.29.0", "eslint": "^7.32.0", "eslint-config-airbnb": "^18.2.1", "eslint-config-airbnb-base": "^14.2.1", "eslint-config-next": "11.0.1", "eslint-config-prettier": "^8.3.0", "eslint-import-resolver-typescript": "^2.4.0", "eslint-plugin-import": "^2.23.4", "eslint-plugin-import-helpers": "^1.1.0", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-prettier": "^3.4.0", "eslint-plugin-react": "^7.24.0", "eslint-plugin-react-hooks": "^4.2.0", "husky": "^7.0.1", "prettier": "^2.3.2", "react": "^17.0.2", "react-dom": "^17.0.2", "size-limit": "^5.0.2", "tsdx": "^0.14.1", "tslib": "^2.3.0", "typescript": "^4.3.5" }, "dependencies": {} }