UNPKG

ipsased

Version:

UI toolkit monorepo containing a React component library, UI utilities, a drag-and-drop library, and more

55 lines (54 loc) 1.57 kB
{ "name": "@acusti/use-keyboard-events", "version": "0.6.0", "type": "module", "sideEffects": false, "exports": "./dist/useKeyboardEvents.js", "main": "./dist/useKeyboardEvents.js", "types": "./dist/useKeyboardEvents.d.ts", "files": [ "dist", "src" ], "description": "React hook that takes keyboard event handlers and attaches them to the document", "keywords": [ "react", "react-hooks", "hooks", "keyboard-events", "key-event-listening", "useKeyboardEvents", "typescript", "ts", "flow" ], "scripts": { "test": "vitest" }, "repository": { "type": "git", "url": "https://github.com/acusti/uikit.git", "directory": "packages/use-keyboard-events" }, "author": "andrew patton <andrew@acusti.ca> (https://www.acusti.ca)", "license": "Unlicense", "bugs": { "url": "https://github.com/acusti/uikit/issues" }, "homepage": "https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme", "devDependencies": { "@testing-library/dom": "^9.3.1", "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.4.3", "@types/react": "^18.2.45", "happy-dom": "^12.10.3", "react": "^18", "react-dom": "^18", "typescript": "^5.3.3", "vitest": "^1.1.0" }, "peerDependencies": { "react": "^16.8 || ^17 || ^18", "react-dom": "^16.8 || ^17 || ^18" } }