UNPKG

svelte-dnd-action

Version:

*An awesome drag and drop library for Svelte 3 and 4 (not using the browser's built-in dnd, thanks god): Rich animations, nested containers, touch support and more *

80 lines (79 loc) 2.24 kB
{ "name": "svelte-dnd-action", "description": "*An awesome drag and drop library for Svelte 3 and 4 (not using the browser's built-in dnd, thanks god): Rich animations, nested containers, touch support and more *", "version": "0.9.69", "repository": { "type": "git", "url": "git+https://github.com/isaacHagoel/svelte-dnd-action.git" }, "author": "Isaac Hagoel", "license": "MIT", "bugs": { "url": "https://github.com/isaacHagoel/svelte-dnd-action/issues" }, "homepage": "https://github.com/isaacHagoel/svelte-dnd-action#readme", "module": "dist/index.mjs", "main": "dist/index.js", "types": "dist/index.d.ts", "svelte": "src/index.js", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "svelte": "./src/index.js" } }, "scripts": { "test": "cypress run", "lint": "eslint .", "format": "prettier --write .", "build": "yarn lint && rollup -c", "prepublishOnly": "yarn build" }, "dependencies": {}, "devDependencies": { "@babel/core": "^7.9.6", "@babel/preset-env": "^7.9.6", "@rollup/plugin-node-resolve": "^6.0.0", "babel-jest": "^26.0.1", "cypress": "^4.5.0", "eslint": "^7.11.0", "husky": "^4.3.0", "lint-staged": "^10.5.1", "prettier": "^2.1.2", "rollup": "^2.79.2", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-copy": "^3.3.0" }, "peerDependencies": { "svelte": ">=3.23.0 || ^5.0.0-next.0" }, "keywords": [ "svelte", "drag and drop", "sortable", "dnd", "draggable", "accessible", "touch" ], "files": [ "src", "dist" ], "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.js": "eslint --cache --fix", "*.{js,css,md}": "prettier --write" } }