UNPKG

react-custom-switcher

Version:

Multi-option Switch/Toggle component for React with dragging, snap and customizable UI

93 lines (92 loc) 2.65 kB
{ "name": "react-custom-switcher", "type": "module", "description": "Multi-option Switch/Toggle component for React with dragging, snap and customizable UI", "main": "lib/index.js", "module": "lib/index.mjs", "typings": "lib/index.d.ts", "version": "1.0.16", "license": "MIT", "author": "innrVoice <innrvoice@icloud.com>", "repository": { "type": "git", "url": "git+https://github.com/innrvoice/react-custom-switcher.git" }, "bugs": { "url": "https://github.com/innrvoice/react-custom-switcher/issues" }, "scripts": { "build": "rimraf lib && rollup -c rollup.config.js", "lint": "eslint --ignore-pattern '*.d.ts' --ignore-pattern '*.test.*' --ext ts,tsx src", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-terser": "0.4.4", "@storybook/addon-actions": "^8.6.8", "@storybook/addon-essentials": "^8.6.8", "@storybook/addon-interactions": "^8.6.8", "@storybook/addon-links": "^8.6.8", "@storybook/addon-onboarding": "^8.6.8", "@storybook/blocks": "^8.6.8", "@storybook/react": "^8.6.8", "@storybook/react-vite": "^8.6.8", "@storybook/testing-library": "^0.2.1", "@types/node": "^20.6.3", "@types/react": "^19.0.12", "@typescript-eslint/eslint-plugin": "^6.7.2", "@typescript-eslint/parser": "^6.7.2", "eslint": "^8.49.0", "eslint-config-prettier": "^9.0.0", "eslint-config-react-app": "^7.0.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-storybook": "^0.6.14", "prettier": "^3.0.3", "react": "^19.0.0", "react-dom": "^19.0.0", "rimraf": "^5.0.1", "rollup": "^4.37.0", "rollup-plugin-node-externals": "^8.0.0", "rollup-plugin-typescript2": "^0.36.0", "storybook": "^8.6.8", "tslib": "^2.6.2", "typescript": "^5.2.2", "vite": "^6.2.3" }, "keywords": [ "switch", "toggle", "switcher", "toggle-switch", "switch-button", "multi-option", "react", "react-component" ], "files": [ "lib" ], "engines": { "node": ">=20.19.0" }, "volta": { "node": "20.19.0" }, "resolutions": { "jackspeak": "2.1.1" }, "eslintConfig": { "extends": [ "plugin:storybook/recommended" ] } }