UNPKG

snapdrag

Version:

A simple, lightweight, and performant drag and drop library for React and vanilla JS

107 lines 2.25 kB
{ "name": "snapdrag", "version": "0.8.9", "description": "A simple, lightweight, and performant drag and drop library for React and vanilla JS", "keywords": [ "drag", "drop", "draggable", "droppable", "sortable", "kanban", "react", "vanilla", "typescript", "performance", "customizable", "touch", "dnd", "react-dnd", "dnd-kit", "beautiful-dnd", "sortablejs", "dragula", "interactjs", "draggablejs", "typescript" ], "repository": { "type": "git", "url": "git+https://github.com/zheksoon/snapdrag.git" }, "license": "MIT", "author": { "name": "Eugene Daragan" }, "type": "module", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } }, "./core": { "import": { "types": "./dist/core.d.ts", "default": "./dist/core.js" }, "require": { "types": "./dist/core.d.cts", "default": "./dist/core.cjs" } }, "./plugins": { "import": { "types": "./dist/plugins.d.ts", "default": "./dist/plugins.js" }, "require": { "types": "./dist/plugins.d.cts", "default": "./dist/plugins.cjs" } } }, "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist/**/*", "package.json", "README.md", "LICENSE" ], "scripts": { "build": "tsup --clean && cp ../../README.md ../../LICENSE ./", "dev": "tsup --watch", "lint": "yarn typecheck", "typecheck": "tsc --noEmit" }, "dependencies": { "@snapdrag/core": "0.8.9", "@snapdrag/plugins": "0.8.9", "@snapdrag/react": "0.8.9" }, "devDependencies": { "@types/node": ">=20.18.0", "@types/react": ">=18.3.0", "publint": "^0.3.9", "react": ">=18.3.0", "tsup": "^8.4.0", "typescript": "^5.2.2" }, "peerDependencies": { "react": ">=18.3.0" }, "packageManager": "yarn@4.9.1", "engines": { "node": ">=20.18.0" }, "publishConfig": { "access": "public" } }