UNPKG

@keybindy/core

Version:

A lightweight and framework-agnostic keyboard shortcut manager for web apps. Define, register, and handle keybindings with ease.

70 lines (69 loc) 1.69 kB
{ "name": "@keybindy/core", "version": "1.0.1", "description": "A lightweight and framework-agnostic keyboard shortcut manager for web apps. Define, register, and handle keybindings with ease.", "author": { "name": "PRASSamin", "url": "https://github.com/prasssamin" }, "repository": { "type": "git", "url": "https://github.com/keybindy/core.git" }, "homepage": "https://github.com/keybindy/core", "bugs": { "url": "https://github.com/keybindy/core/issues" }, "license": "MIT", "sideEffects": false, "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.js", "types": "./dist/index.d.ts" } }, "files": [ "dist/**/*.js", "dist/**/*.d.ts", "!dist/**/*.map", "package.json", "LICENSE.md", "README.md" ], "keywords": [ "keyboard", "shortcut", "hotkeys", "keybind", "keybinding", "shortcut-manager", "typescript", "web", "shortcut-engine", "framework-agnostic" ], "scripts": { "format": "prettier --write \"src/**/*.{ts,tsx}\"", "publish": "npm publish --access public", "prebuild": "rm -rf dist", "build": "rollup -c" }, "devDependencies": { "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.2", "@types/bun": "latest", "prettier": "^3.5.3", "rollup-plugin-dts": "^6.2.1", "rollup-plugin-generate-package-json": "^3.2.0", "tslib": "^2.8.1" }, "peerDependencies": { "typescript": "^5.0.0" } }