UNPKG

@minoru/react-dnd-treeview

Version:

A draggable / droppable React-based treeview component.

120 lines (119 loc) 3.79 kB
{ "name": "@minoru/react-dnd-treeview", "description": "A draggable / droppable React-based treeview component.", "version": "3.5.3", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/minop1205/react-dnd-treeview.git" }, "author": "Minoru Okuyama <okuyama@analogic.jp> (https://github.com/minop1205/)", "homepage": "https://github.com/minop1205/react-dnd-treeview", "keywords": [ "drag and drop", "dnd", "react", "tree", "treeview", "component", "headless component", "touch support", "sortable", "hierarchical data" ], "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "publishConfig": { "access": "public" }, "dependencies": { "@juggle/resize-observer": "^3.4.0", "dnd-multi-backend": "^8.1.2", "framer-motion": "^11.17.0", "react-dnd-html5-backend": "^16.0.1", "react-dnd-touch-backend": "^16.0.1", "react-use-measure": "^2.1.1" }, "devDependencies": { "@babel/core": "^7.26.0", "@babel/plugin-transform-modules-commonjs": "^7.26.3", "@babel/preset-env": "^7.26.0", "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.0", "@eslint/js": "^9.18.0", "@mui/icons-material": "^6.3.1", "@mui/material": "^6.3.1", "@rollup/plugin-alias": "^5.1.1", "@storybook/addon-actions": "^8.4.7", "@storybook/addon-docs": "^8.4.7", "@storybook/addon-essentials": "^8.4.7", "@storybook/addon-interactions": "^8.4.7", "@storybook/addon-themes": "^8.4.7", "@storybook/addon-webpack5-compiler-swc": "^2.0.0", "@storybook/react": "^8.4.7", "@storybook/react-webpack5": "^8.4.7", "@storybook/test": "^8.4.7", "@storybook/test-runner": "^0.21.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.1.0", "@types/css-modules": "^1.0.5", "@types/hoist-non-react-statics": "^3.3.6", "@types/jest": "^29.5.14", "@types/react": "^19.0.6", "@types/react-dnd-multi-backend": "^6.0.6", "@types/react-dom": "^19.0.3", "babel-jest": "^29.7.0", "babel-loader": "^9.2.1", "eslint": "^9.18.0", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^3.7.0", "eslint-import-resolver-webpack": "^0.13.10", "eslint-plugin-import": "^2.31.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-react": "^7.37.3", "eslint-plugin-react-hooks": "^5.1.0", "gh-pages": "^6.3.0", "globals": "^15.14.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "prettier": "^3.4.2", "react": "^19.0.0", "react-dnd": "^16.0.1", "react-dom": "^19.0.0", "rollup": "^4.30.1", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-typescript2": "^0.36.0", "storybook": "^8.4.7", "storybook-css-modules-preset": "^1.1.1", "ts-jest": "^29.2.5", "ts-patch": "^3.3.0", "tslib": "^2.8.1", "typescript": "^5.7.3", "typescript-eslint": "^8.19.1", "typescript-transform-paths": "^3.5.3" }, "peerDependencies": { "react": "18.x || 19.x", "react-dnd": "15.x || 16.x", "react-dom": "18.x || 19.x" }, "scripts": { "build": "rollup -c", "watch": "rollup -c -w", "lint": "npx tsc --noEmit && npx eslint --fix src/", "prepublish": "rm -rf ./dist && npm run build", "test": "jest", "storybook": "storybook dev -p 6006", "storybook:build": "STORYBOOK_DISABLE_INTERACTIONS=true storybook build", "storybook:test": "npx test-storybook", "storybook:deploy": "npm run storybook:build && gh-pages -d storybook-static" }, "bugs": { "url": "https://github.com/minop1205/react-dnd-treeview/issues", "email": "okuyama@analogic.jp" } }