clicknhold
Version:
React hook for handling click and hold events
46 lines (42 loc) • 939 B
JSON
{
"name": "clicknhold",
"version": "1.1.0",
"description": "React hook for handling click and hold events",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"author": "dolhocodev",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/dolhocodev/clicknhold"
},
"keywords": [
"react",
"hook",
"click",
"hold",
"press",
"long-press",
"tailwind",
"components"
],
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@types/react": "^18.2.0",
"typescript": "^5.0.0",
"rollup": "^4.0.0",
"@rollup/plugin-typescript": "^11.1.5",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"tslib": "^2.6.2"
},
"scripts": {
"build": "rollup -c",
"prepare": "npm run build"
}
}