react-touch-drag-slider
Version:
Touch and drag slider carousel component for React
67 lines (66 loc) • 1.56 kB
JSON
{
"name": "react-touch-drag-slider",
"version": "2.2.6",
"description": "Touch and drag slider carousel component for React",
"author": "bushblade",
"license": "MIT",
"repository": "bushblade/react-touch-drag-slider",
"keywords": [
"pointer",
"mouse",
"swipe",
"slider",
"touch",
"mobile",
"carousel",
"gallery",
"slideshow"
],
"type": "module",
"scripts": {
"dev": "vite --host",
"build": "tsc && vite build",
"preview": "vite preview",
"test": "vitest",
"test:ui": "vitest --ui"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@testing-library/react": "^14.1.2",
"@types/jsdom": "^21.1.6",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/ui": "^1.0.4",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"jsdom": "^23.0.1",
"typescript": "^5.3.3",
"vite": "^5.0.8",
"vite-plugin-dts": "^3.6.4",
"vitest": "^1.0.4"
},
"files": [
"dist"
],
"module": "./dist/lib.es.js",
"types": "./dist/lib/index.d.ts",
"main": "./dist/lib.es.js",
"exports": {
".": {
"import": "./dist/lib.es.js",
"require": "./dist/lib.umd.js"
}
}
}