UNPKG

@marciocamello/react-sortable-tree

Version:

Drag-and-drop sortable component for nested data and hierarchies

153 lines 4.77 kB
{ "name": "@marciocamello/react-sortable-tree", "version": "4.4.3", "description": "Drag-and-drop sortable component for nested data and hierarchies", "main": "./index.js", "module": "./esm/index.js", "types": "./index.d.ts", "exports": { "./package.json": "./package.json", "./style.css": "./style.css", ".": { "types": "./index.d.ts", "module": "./esm/index.js", "import": "./esm/index.mjs", "default": "./index.js" } }, "files": [ "**" ], "sideEffects": false, "scripts": { "prebuild": "yarn clean", "build": "rollup -c", "build:storybook": "build-storybook -o build", "clean": "rimraf dist", "clean:storybook": "rimraf build", "lint": "eslint '*.{js,json}' '{src,tests}/**/*.{ts,tsx}' --cache", "prepublishOnly": "yarn build", "release": "standard-version", "storybook": "start-storybook -p ${PORT:-3001} -h 0.0.0.0", "postbuild": "yarn copy", "copy": "rimraf dist/tests.d.ts && shx cp -r dist/*.d.ts dist/esm && shx mv dist/* dist && shx cp package.json README.md LICENSE dist && json -I -f dist/package.json -e \"this.private=false; this.devDependencies=undefined; this.optionalDependencies=undefined; this.scripts=undefined; this.prettier=undefined; this['lint-staged']=undefined;\"", "publish:alpha": "cd dist && npm publish --tag alpha", "publish:beta": "cd dist && npm publish --tag beta", "publish:release": "cd dist && npm publish", "deploy-storybook": "gh-pages -d storybook-static" }, "engines": { "node": ">=16" }, "prettier": { "semi": false, "trailingComma": "es5", "singleQuote": true, "bracketSameLine": true, "tabWidth": 2, "printWidth": 80 }, "repository": { "type": "git", "url": "https://github.com/SmartDigitPT/react-sortable-tree" }, "keywords": [ "react", "react-component", "sortable-tree", "virtual-tree" ], "publishConfig": { "access": "public" }, "contributors": [ "Chris Fritz", "Vitalii Shvetsov" ], "license": "MIT", "bugs": "https://github.com/SmartDigitPT/react-sortable-tree/issues", "dependencies": { "@marciocamello/react-dnd-scrollzone": "^3.0.0", "lodash.isequal": "^4.5.0", "react-dnd": "14.0.4", "react-dnd-html5-backend": "^14.1.0", "react-virtuoso": "^4.3.1", "storybook": "^8.4.6" }, "devDependencies": { "@babel/core": "^7.21.4", "@babel/eslint-parser": "^7.21.3", "@babel/helper-module-imports": "^7.21.4", "@babel/plugin-transform-react-jsx": "^7.21.0", "@babel/preset-env": "^7.21.4", "@babel/types": "^7.21.4", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-node-resolve": "^15.0.2", "@rollup/plugin-typescript": "^11.1.0", "@storybook/addon-postcss": "^2.0.0", "@storybook/addons": "^6.5.16", "@storybook/react": "^6.5.16", "@storybook/theming": "^6.5.16", "@types/babel-plugin-macros": "^3.1.0", "@types/gh-pages": "^6", "@types/lodash.isequal": "^4.5.6", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "@typescript-eslint/eslint-plugin": "^5.59.1", "@typescript-eslint/parser": "^5.59.1", "acorn-jsx": "^5.3.2", "autoprefixer": "^10.4.14", "babel-plugin-macros": "^3.1.0", "esbuild": "^0.17.18", "eslint": "^8.39.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^17.0.0", "eslint-config-prettier": "^8.8.0", "eslint-import-resolver-typescript": "^3.5.5", "eslint-plugin-import": "^2.27.5", "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-sonarjs": "^0.19.0", "eslint-plugin-storybook": "^0.6.11", "eslint-plugin-unicorn": "^46.0.0", "gh-pages": "^6.2.0", "json": "^11.0.0", "postcss": "^8.4.23", "prettier": "^2.8.8", "prop-types": "^15.8.1", "react": "^17.0.2", "react-dnd-touch-backend": "^14.1.1", "react-dom": "^17.0.2", "rimraf": "^5.0.0", "rollup": "^3.21.0", "rollup-plugin-esbuild": "^5.0.0", "rollup-plugin-postcss": "^4.0.2", "shx": "^0.3.4", "tslib": "^2.5.0", "typescript": "^5.7.2", "webpack": "^5", "webpack-cli": "^5.1.4" }, "peerDependencies": { "react": "^17.0.0 || ^18.0.0", "react-dnd": "14.0.4", "react-dom": "^17.0.0 || ^18.0.0" }, "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" ] }, "packageManager": "yarn@4.5.3" }