UNPKG

@hyperse/tinykeys

Version:

This library registers and listens to keyboard input, executing actions when the keystrokes match a user-defined shortcut.

81 lines (80 loc) 2.08 kB
{ "name": "@hyperse/tinykeys", "version": "1.0.1", "description": "This library registers and listens to keyboard input, executing actions when the keystrokes match a user-defined shortcut.", "keywords": [ "hyperse", "tinykeys", "typescript" ], "repository": { "type": "git", "url": "git@github.com:hyperse-io/tinykeys.git" }, "type": "module", "exports": { ".": { "import": "./index.js", "types": "./dist/index.d.ts" }, "./package.json": "./package.json" }, "types": "./dist/index.d.ts", "files": [ "./bin/", "./dist/", "./index.js" ], "scripts": { "build": "tsup", "lint": "eslint .", "lint-fix": "yarn lint --fix", "test": "run-s test-task", "test-task": "vitest run", "typecheck": "tsc --project ./tsconfig.json --noEmit", "lint-staged-files": "lint-staged --allow-empty", "changeset": "changeset", "release": "yarn build && changeset publish", "cz": "cz", "prepare": "husky" }, "config": { "commitizen": { "path": "cz-conventional-changelog" } }, "devDependencies": { "@changesets/changelog-github": "0.5.1", "@changesets/cli": "2.29.4", "@commitlint/cli": "19.8.1", "@commitlint/config-conventional": "19.8.1", "@hyperse/eslint-config-hyperse": "^1.4.4", "@hyperse/exec-program": "^1.0.11", "@testing-library/dom": "^10.4.0", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", "@types/node": "^22.15.24", "@types/react": "^19.1.6", "@vitejs/plugin-react": "^4.5.0", "commitizen": "4.3.1", "cz-conventional-changelog": "3.3.0", "eslint": "^9.27.0", "happy-dom": "^17.4.7", "husky": "9.1.7", "lint-staged": "16.1.0", "npm-run-all": "^4.1.5", "react": "^19.1.0", "react-dom": "^19.1.0", "tsup": "^8.5.0", "typescript": "^5.8.3", "vite": "^6.3.5", "vitest": "^3.1.4" }, "packageManager": "yarn@4.9.1", "engines": { "node": ">=18" }, "publishConfig": { "access": "public" } }