react-custom-switcher
Version:
Legacy React multi-option Switch/Toggle component. New development has moved to react-segmented-choice.
77 lines (76 loc) • 2.22 kB
JSON
{
"name": "react-custom-switcher",
"type": "module",
"description": "Legacy React multi-option Switch/Toggle component. New development has moved to react-segmented-choice.",
"main": "lib/index.js",
"module": "lib/index.mjs",
"typings": "lib/index.d.ts",
"version": "1.2.1",
"license": "MIT",
"author": "innrVoice <innrvoice@icloud.com>",
"homepage": "https://github.com/innrvoice/react-custom-switcher#readme",
"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": "oxlint --ignore-pattern '*.d.ts' --ignore-pattern '*.test.*' src",
"prepack": "npm run build",
"storybook": "storybook dev -p 6006 --no-open",
"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": {
"@chromatic-com/storybook": "^5.0.1",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-typescript": "^12.3.0",
"@storybook/addon-a11y": "^10.2.10",
"@storybook/addon-docs": "^10.2.10",
"@storybook/addon-links": "^10.2.10",
"@storybook/react-vite": "^10.2.10",
"@types/node": "^20.6.3",
"@types/react": "^19.0.12",
"oxlint": "^1.26.0",
"prettier": "^3.0.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^6.1.3",
"rollup": "^4.37.0",
"rollup-plugin-node-externals": "^8.0.0",
"storybook": "^10.2.10",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"vite": "^7.3.2"
},
"keywords": [
"switch",
"toggle",
"switcher",
"toggle-switch",
"switch-button",
"multi-option",
"react",
"react-component"
],
"files": [
"lib"
],
"engines": {
"node": ">=22.13.0"
},
"resolutions": {
"**/@rollup/pluginutils": "^5.3.0",
"**/brace-expansion": "^5.0.5",
"**/minimatch": "^10.2.5",
"**/picomatch": "^4.0.4"
}
}