UNPKG

iohook

Version:

Node.js global keyboard and mouse hook

169 lines (168 loc) 3.16 kB
{ "name": "iohook", "version": "0.9.3", "description": "Node.js global keyboard and mouse hook", "author": "Aloyan Dmitry", "license": "MIT", "homepage": "https://github.com/wilix-team/iohook", "repository": { "type": "git", "url": "git+https://github.com/wilix-team/iohook.git" }, "bugs": { "url": "https://github.com/wilix-team/iohook/issues" }, "main": "index.js", "types": "index.d.ts", "scripts": { "install": "node install.js", "build": "node build.js --upload=false", "build:ci": "node build.js --all", "build:print": "node -e 'require(\"./helpers\").printManualBuildParams()'", "test": "jest", "lint:dry": "eslint --ignore-path .lintignore .", "lint:fix": "eslint --ignore-path .lintignore --fix . && prettier --ignore-path .lintignore --write .", "docs:dev": "vuepress dev docs", "docs:build": "vuepress build docs", "docs:deploy": "npm run docs:build && gh-pages -d docs/.vuepress/dist/" }, "keywords": [ "hook", "electron", "nw.js", "listener", "mousemove", "keypress", "keyup", "global keypress", "shortcut" ], "lint-staged": { "examples/**/*.{js,jsx,ts,tsx}": [ "eslint --fix", "prettier --write" ], "docs/**/*.{js,jsx,ts,tsx}": [ "eslint --fix", "prettier --write" ], "test/**/*.{js,jsx,ts,tsx}": [ "eslint --fix", "prettier --write" ], "*.{js,jsx,ts,tsx}": [ "eslint --fix", "prettier --write" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "dependencies": { "nugget": "^2.0.1", "pump": "^1.0.3", "rc": "^1.2.8", "tar-fs": "^1.16.3" }, "devDependencies": { "@types/node": "^7.0.62", "fs-extra": "^9.0.1", "jest": "^26.6.3", "minimist": "^1.2.5", "nan": "^2.13.2", "node-abi": "^2.19.3", "node-gyp": "^7.1.2", "prebuild": "^10.0.1", "robotjs": "^0.6.0", "tar": "^6.0.5", "gh-pages": "^3.2.0", "vuepress": "^1.7.1", "eslint": "^7.28.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-only-warn": "^1.0.2", "eslint-plugin-prettier": "^3.4.0", "htmlhint": "^0.15.1", "husky": "^6.0.0", "lint-staged": "^11.0.0", "prettier": "^2.3.1" }, "supportedTargets": [ [ "electron", "4.0.4", "69" ], [ "electron", "5.0.0", "70" ], [ "electron", "6.0.0", "73" ], [ "electron", "7.0.0", "75" ], [ "electron", "8.0.0", "76" ], [ "electron", "9.0.0", "80" ], [ "electron", "10.0.0", "82" ], [ "electron", "11.0.0", "85" ], [ "electron", "12.0.0", "87" ], [ "node", "10.0.0", "64" ], [ "node", "11.4.0", "67" ], [ "node", "12.0.0", "72" ], [ "node", "13.0.0", "79" ], [ "node", "14.0.0", "83" ], [ "node", "15.0.0", "88" ] ] }