UNPKG

swapy

Version:

_A framework-agnostic tool that converts any layout into a drag-to-swap one with just a few lines of code._

50 lines (49 loc) 1.11 kB
{ "name": "swapy", "author": "Taha Shashtari (taha@tahazsh.com)", "private": false, "version": "1.0.5", "type": "module", "main": "./dist/swapy.min.js", "module": "./dist/swapy.js", "types": "./dist/swapy.d.ts", "exports": { ".": { "import": "./dist/swapy.js", "require": "./dist/swapy.min.js" } }, "files": [ "dist" ], "scripts": { "dev": "vite", "tsc": "tsc --noEmit", "build": "tsc -p tsconfig.build.json && vite build", "preview": "vite preview" }, "devDependencies": { "@sveltejs/vite-plugin-svelte": "^4.0.1", "@types/node": "^22.9.0", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "@vitejs/plugin-react": "^4.3.3", "@vitejs/plugin-vue": "^5.2.0", "react": "^18.3.1", "react-dom": "^18.3.1", "svelte": "^5.2.7", "typescript": "^5.6.3", "vite": "^5.4.10", "vite-plugin-dts": "^4.3.0", "vue": "^3.5.13" }, "keywords": [ "swap", "reorder", "drag", "smooth", "animation" ], "license": "GPL-3.0", "homepage": "https://swapy.tahazsh.com/" }