@nosferatu500/react-sortable-tree
Version:
Drag-and-drop sortable component for nested data and hierarchies
124 lines (123 loc) • 3.64 kB
JSON
{
"name": "@nosferatu500/react-sortable-tree",
"version": "5.0.0",
"description": "Drag-and-drop sortable component for nested data and hierarchies",
"homepage": "https://nosferatu500.github.io/react-sortable-tree",
"main": "lib/index.esm.js",
"module": "lib/index.esm.js",
"types": "lib/index.d.ts",
"scripts": {
"clean": "rimraf lib",
"clean-types": "rimraf lib/types",
"prebuild": "npm run clean",
"build": "rollup -c && npm run clean-types",
"build:compiler": "REACT_COMPILER=true rollup -c && npm run clean-types",
"lint": "eslint 'src/**/*.{ts,tsx}' --cache --fix",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"prepublishOnly": "npm run build",
"deploy-storybook": "gh-pages -d storybook-static"
},
"files": [
"lib"
],
"engines": {
"node": ">=24.11"
},
"prettier": {
"semi": false,
"trailingComma": "es5",
"singleQuote": true,
"bracketSameLine": true,
"tabWidth": 2,
"printWidth": 80
},
"repository": {
"type": "git",
"url": "git+https://github.com/nosferatu500/react-sortable-tree.git"
},
"keywords": [
"react",
"react-component",
"sortable-tree",
"virtual-tree"
],
"publishConfig": {
"access": "public"
},
"contributors": [
"Vitalii Shvetsov"
],
"author": "Chris Fritz",
"license": "MIT",
"bugs": "https://github.com/nosferatu500/react-sortable-tree/issues",
"devDependencies": {
"@babel/core": "^7.29.0",
"@chromatic-com/storybook": "^5.0.1",
"@eslint/compat": "^2.0.2",
"@eslint/eslintrc": "^3.3.4",
"@rollup/plugin-babel": "^6.1.0",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-typescript": "^12.3.0",
"@storybook/addon-docs": "^10.2.13",
"@storybook/addon-links": "^10.2.13",
"@storybook/addon-webpack5-compiler-swc": "^4.0.2",
"@storybook/react-webpack5": "^10.2.13",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@typescript-eslint/eslint-plugin": "^8.56.1",
"@typescript-eslint/parser": "^8.56.1",
"babel-plugin-react-compiler": "^1.0.0",
"eslint": "^9.39.3",
"eslint-config-airbnb-extended": "^3.0.1",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-sonarjs": "^3.0.7",
"eslint-plugin-storybook": "^10.2.13",
"eslint-plugin-unicorn": "^63.0.0",
"gh-pages": "^6.3.0",
"postcss": "^8.5.6",
"prettier": "^3.8.1",
"react": "^19.2.4",
"react-dnd-touch-backend": "^16.0.1",
"react-dom": "^19.2.4",
"rollup": "^4.59.0",
"rollup-plugin-dts": "^6.3.0",
"rollup-plugin-postcss": "^4.0.2",
"storybook": "^10.2.13",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.1"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dnd": "^16.0.0",
"react-dnd-html5-backend": "^16.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"dependencies": {
"immer": "^11.1.4",
"react-dnd": "^16.0.0",
"react-dnd-html5-backend": "^16.0.0",
"virtua": "^0.48.6"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}