@cainier/uiohook-napi
Version:
[](https://www.npmjs.com/package/uiohook-napi)
59 lines (58 loc) • 1.43 kB
JSON
{
"name": "@cainier/uiohook-napi",
"version": "1.5.6",
"author": {
"name": "Alexander Drozdov"
},
"repository": {
"type": "git",
"url": "https://github.com/Cainier/uiohook-napi.git"
},
"license": "MIT",
"keywords": [
"iohook",
"uiohook",
"libuiohook",
"hook",
"input",
"keyboard",
"mouse"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"install": "node-gyp-build",
"prebuild": "prebuildify --napi",
"prebuild:darwin": "prebuildify --napi --platform darwin --arch x64 && prebuildify --napi --platform darwin --arch arm64",
"fetch-libuiohook": "bash ./scripts/fetch-libuiohook.sh",
"prepublishOnly": "npm run fetch-libuiohook && npm run build-ts",
"build-ts": "tsc",
"demo": "ts-node src/demo.ts",
"make-libuiohook-patch": "git -C ./libuiohook diff --cached > ./src/libuiohook.patch",
"apply-libuiohook-patch": "git -C ./libuiohook apply ../src/libuiohook.patch"
},
"files": [
"dist",
"binding.gyp",
"libuiohook/src",
"libuiohook/include",
"src/lib",
"prebuilds"
],
"devDependencies": {
"@types/node": "18.x.x",
"prebuildify": "5.x.x",
"ts-node": "10.x.x",
"typescript": "4.x.x"
},
"dependencies": {
"node-gyp-build": "4.x.x"
},
"prebuild": {
"test": "dist/prebuild-test-noop.js"
},
"gypfile": true,
"engines": {
"node": ">= 16"
}
}