{ "name": "hotkeys-js", "description": "A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.", "version": "3.13.7", "main": "index.js", "types": "index.d.ts", "module": "dist/hotkeys.esm.js", "scripts": { "prepare": "npm run build:lib && husky install", "lint": "eslint --ignore-pattern dist --ext .js src website", "build:lib": "node scripts/build.mjs", "build": "npm run build:lib && npm run doc && npm run lint", "watch": "node scripts/watch.mjs", "pretest": "npm run build", "test": "jest --coverage --detectOpenHandles", "test:watch": "jest --watch", "doc": "kkt build --app-src ./website", "start": "kkt start --app-src ./website" }, "files": [ "index.d.ts", "dist", "doc" ], "keywords": [ "hotkey", "hotkeys", "hotkeys-js", "hotkeysjs", "key", "keys", "keyboard", "shortcuts", "keypress" ], "author": "kenny wong ", "license": "MIT", "homepage": "https://jaywcjlove.github.io/hotkeys-js", "funding": "https://jaywcjlove.github.io/#/sponsor", "repository": { "type": "git", "url": "https://github.com/jaywcjlove/hotkeys-js.git" }, "jest": { "testEnvironmentOptions": { "url": "http://localhost/" } }, "devDependencies": { "@babel/eslint-parser": "^7.18.9", "@babel/plugin-proposal-private-property-in-object": "^7.21.11", "@kkt/less-modules": "^7.5.2", "@kkt/raw-modules": "^7.5.2", "@kkt/scope-plugin-options": "^7.5.2", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-node-resolve": "^15.2.3", "@uiw/react-github-corners": "^1.5.15", "@uiw/react-mac-keyboard": "^1.1.5", "@uiw/react-markdown-preview": "^5.0.3", "@uiw/react-shields": "^2.0.1", "@wcj/dark-mode": "~1.0.15", "bannerjs": "^3.0.2", "classnames": "^2.3.2", "colors-cli": "^1.0.32", "eslint": "^8.44.0", "eslint-config-airbnb": "^19.0.4", "eslint-plugin-import": "^2.27.5", "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-react": "^7.32.2", "husky": "^8.0.3", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "kkt": "^7.5.2", "lint-staged": "^15.2.0", "puppeteer": "~13.5.2", "react": "~18.2.0", "react-dom": "~18.2.0", "rimraf": "^5.0.1", "rollup": "^4.7.0", "uglify-js": "^3.17.4" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }, "lint-staged": { "src/**/*.js": "eslint --ext .js src website" } }