UNPKG

@mentor-apm/react-sortable-tree

Version:

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

145 lines 4.28 kB
{ "name": "@mentor-apm/react-sortable-tree", "version": "5.0.0-alpha.0", "description": "Drag-and-drop sortable component for nested data and hierarchies", "main": "./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": "npm run clean", "build": "rollup -c", "build:storybook": "build-storybook -o build", "clean": "rimraf dist", "clean:storybook": "rimraf build", "prettier": "prettier --write '{src,tests}/**/*.{ts, tsx}'", "lint": "npm run prettier && eslint '*.{js,json}' '{src,tests}/**/*.{ts,tsx}'", "prepublishOnly": "npm run build", "release": "standard-version", "storybook": "start-storybook -p ${PORT:-3001} -h 0.0.0.0", "postbuild": "npm run 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" }, "engines": { "node": ">=16" }, "prettier": { "semi": false, "trailingComma": "es5", "singleQuote": true, "bracketSameLine": true, "tabWidth": 2, "printWidth": 80 }, "repository": { "type": "git", "url": "https://github.com/MentorAPM/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/MentorAPM/react-sortable-tree/issues", "dependencies": { "@nosferatu500/react-dnd-scrollzone": "3.0.0-alpha.0", "lodash.isequal": "^4.5.0", "react-dnd": "14.0.4", "react-dnd-html5-backend": "^14.1.0", "react-virtuoso": "^2.12.0" }, "devDependencies": { "@babel/core": "^7.18.0", "@babel/eslint-parser": "^7.17.0", "@babel/helper-module-imports": "^7.16.7", "@babel/plugin-transform-react-jsx": "^7.17.12", "@babel/preset-env": "^7.18.0", "@babel/types": "^7.18.0", "@rollup/plugin-babel": "^5.3.1", "@rollup/plugin-node-resolve": "^13.3.0", "@rollup/plugin-typescript": "^8.3.2", "@storybook/addon-postcss": "^2.0.0", "@storybook/addons": "^6.5.3", "@storybook/react": "^6.5.3", "@storybook/theming": "^6.5.3", "@types/babel-plugin-macros": "^2.8.5", "@types/lodash.isequal": "^4.5.6", "@types/react": "^17.0.45", "@types/react-dom": "^17.0.17", "@typescript-eslint/eslint-plugin": "^5.25.0", "@typescript-eslint/parser": "^5.25.0", "acorn-jsx": "^5.3.2", "autoprefixer": "^10.4.7", "babel-plugin-macros": "^3.1.0", "esbuild": "^0.14.39", "eslint": "^8.16.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^17.0.0", "eslint-config-prettier": "^8.5.0", "eslint-import-resolver-typescript": "^2.7.1", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-promise": "^6.0.0", "eslint-plugin-react": "^7.30.0", "eslint-plugin-react-hooks": "^4.5.0", "eslint-plugin-sonarjs": "^0.13.0", "eslint-plugin-storybook": "^0.5.12", "eslint-plugin-unicorn": "^42.0.0", "json": "^11.0.0", "postcss": "^8.4.14", "prettier": "^2.6.2", "prop-types": "^15.8.1", "react": "^17.0.2", "react-dom": "^17.0.2", "rimraf": "^3.0.2", "rollup": "^2.74.1", "rollup-plugin-esbuild": "^4.9.1", "rollup-plugin-postcss": "^4.0.2", "shx": "^0.3.4", "tslib": "^2.4.0", "typescript": "^4.6.4" }, "peerDependencies": { "react": ">=17.0.2", "react-dnd": "14.0.4", "react-dom": ">=17.0.2" }, "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" ] } }