UNPKG

use-control

Version:

A powerful set of hooks for elegantly handling keyboard, mouse and gamepad input (soon)

49 lines (48 loc) 1.14 kB
{ "name": "use-control", "version": "0.2.1", "publishConfig": { "access": "public" }, "description": "A powerful set of hooks for elegantly handling keyboard, mouse and gamepad input (soon)", "keywords": [ "input", "keyboard", "controller", "gamepad", "mouse", "use-control", "useInput", "keypress" ], "author": "bfollington", "license": "MIT", "repository": "bfollington/use-control", "main": "lib/index.js", "types": "lib/", "files": [ "lib" ], "scripts": { "build": "tsc -p tsconfig.json --outDir lib", "lint": "eslint src/ --ext .ts,.tsx", "format": "prettier --write \"src/**/*.{ts,tsx}\"" }, "dependencies": { "rxjs": "^6.6.0" }, "peerDependencies": { "react": "^15.0.0 || ^16.0.0 || ^17.0.0" }, "devDependencies": { "@types/jest": "^24.0.15", "@types/react": "^17.0.0", "@types/react-dom": "^17.0.0", "@typescript-eslint/parser": "^4.25.0", "eslint-plugin-react": "^7.23.2", "prettier": "^2.3.0", "rxjs": "^6.6.0", "typescript": "^4.3.2" }, "gitHead": "ed7bfb0ad6e2acea42ecab8129bbde1b841d7520" }