use-table-drag-select
Version:
A React hook for selecting table cells by dragging
83 lines (82 loc) • 2.57 kB
JSON
{
"name": "use-table-drag-select",
"version": "0.2.0",
"description": "A React hook for selecting table cells by dragging",
"keywords": [
"react",
"timetable",
"schedule",
"table",
"component",
"select"
],
"homepage": "https://jeonbyeongmin.github.io/use-table-drag-select/",
"repository": {
"type": "git",
"url": "https://github.com/jeonbyeongmin/use-table-drag-select"
},
"license": "MIT",
"author": {
"name": "Byeongmin Jeon",
"email": "qudals7613@gmail.com",
"url": "https://github.com/jeonbyeongmin"
},
"sideEffects": false,
"main": "dist/bundle.cjs.js",
"module": "dist/bundle.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "rm -rf dist esm && tsc -p tsconfig.build.json --declaration --emitDeclarationOnly --declarationDir dist && rollup -c rollup.config.js",
"prepack": "yarn build",
"unit": "jest",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"test": "yarn typecheck && yarn lint && yarn unit",
"sort": "npx sort-package-json"
},
"dependencies": {
"@types/react": "^18.2.6"
},
"devDependencies": {
"@babel/core": "^7.21.8",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-numeric-separator": "^7.18.6",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-proposal-private-property-in-object": "^7.21.0",
"@babel/preset-env": "^7.21.5",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.5",
"@jeonbyeongmin/prettier-config": "^0.1.2",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.5.1",
"@types/react-dom": "^18.2.4",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"builtin-modules": "^3.3.0",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"prettier": "^2.8.8",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^3.21.7",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"peerDependencies": {
"react": "^16.8 || ^17 || ^18"
}
}