UNPKG

swipe-button

Version:

A lightweight, unstyled, and fully accessible swipe-to-action button for React. Built with zero dependencies.

65 lines (64 loc) 1.61 kB
{ "name": "swipe-button", "version": "1.0.9", "private": false, "description": "A lightweight, unstyled, and fully accessible swipe-to-action button for React. Built with zero dependencies.", "author": "Your Name <alishiranii1384@gmail.com>", "license": "MIT", "keywords": [ "react", "swipe", "button", "swipe-button", "unlock", "react-component", "unstyled", "react-swipe-button", "swipable-button", "slide", "slide-button", "glide", "glide-button", "slide-to-unlock", "next-swipe-button", "next.js-swipe-button", "react-component", "nextjs" ], "repository": { "type": "git", "url": "https://github.com/alishirani1384/swipe-button.git" }, "homepage": "https://swipe-button.vercel.app/", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist" ], "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.js", "types": "./dist/index.d.ts" } }, "scripts": { "build": "tsup src/index.tsx --format cjs,esm --dts --external react", "dev": "tsup src/index.tsx --format cjs,esm --dts --external react --watch", "clean": "rd /s /q .turbo dist" }, "devDependencies": { "@repo/eslint-config": "workspace:*", "@repo/typescript-config": "workspace:*", "@types/node": "^22.15.3", "@types/react": "19.1.0", "@types/react-dom": "19.1.1", "eslint": "^9.30.0", "tsup": "^8.5.0", "typescript": "5.8.2" }, "peerDependencies": { "react": ">=17.0.0" } }