UNPKG

start-drag

Version:

Listens and composes mouse or touch events to dragging callbacks

61 lines (60 loc) 1.38 kB
{ "name": "start-drag", "version": "1.0.1", "description": "Listens and composes mouse or touch events to dragging callbacks", "type": "module", "author": { "name": "Arumi Sakura", "url": "https://github.com/arumi-s" }, "repository": { "type": "git", "url": "git+https://github.com/arumi-s/start-drag.git" }, "keywords": [ "drag", "mouseevent", "touchevent", "mousedown", "mousemove", "mouseup", "touchstart", "touchmove", "touchend" ], "publishConfig": { "access": "public" }, "files": [ "dist" ], "main": "./dist/index.cjs", "module": "./dist/index.js", "exports": { "require": "./dist/index.cjs", "import": "./dist/index.js" }, "types": "./dist/index.d.ts", "scripts": { "build": "tsup src/index.ts --format cjs,esm --dts-resolve", "test": "vitest run", "prepublishOnly": "pnpm run build" }, "license": "MIT", "devDependencies": { "@semantic-release/changelog": "^6.0.3", "@semantic-release/commit-analyzer": "^13.0.0", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^10.0.7", "@semantic-release/npm": "^12.0.1", "@semantic-release/release-notes-generator": "^14.0.1", "@types/jsdom": "^21.1.7", "@vitest/coverage-v8": "^1.6.0", "jsdom": "^24.1.0", "prettier": "3.3.2", "semantic-release": "^24.0.0", "tsup": "8.1.0", "typescript": "5.5.3", "vitest": "1.6.0" } }