-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.34 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "selection-hook",
"version": "2.0.1",
"description": "The first open-source library for cross-application text selection monitoring and global input event hooks. Works with Node.js and Electron.",
"author": "0xfullex",
"repository": {
"type": "git",
"url": "git+https://github.com/0xfullex/selection-hook.git"
},
"main": "index.js",
"types": "index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"require": "./index.js",
"default": "./index.js"
}
},
"scripts": {
"install": "node-gyp-build",
"rebuild": "node-gyp rebuild",
"prebuild": "npm run prebuild:win && npm run prebuild:mac && npm run prebuild:linux",
"prebuild:win": "npm run prebuild:win:x64 && npm run prebuild:win:arm64",
"prebuild:win:x64": "prebuildify --napi --platform=win32 --arch=x64",
"prebuild:win:arm64": "prebuildify --napi --platform=win32 --arch=arm64",
"prebuild:mac": "npm run prebuild:mac:x64 && npm run prebuild:mac:arm64",
"prebuild:mac:x64": "prebuildify --napi --platform=darwin --arch=x64",
"prebuild:mac:arm64": "prebuildify --napi --platform=darwin --arch=arm64",
"prebuild:linux": "npm run prebuild:linux:x64 && npm run prebuild:linux:arm64",
"prebuild:linux:x64": "prebuildify --napi --platform=linux --arch=x64",
"prebuild:linux:arm64": "prebuildify --napi --platform=linux --arch=arm64",
"demo": "node --trace-deprecation --force-node-api-uncaught-exceptions-policy=true examples/node-demo.js",
"typecheck": "tsc --noEmit",
"format": "find src -name '*.cc' -o -name '*.mm' -o -name '*.h' | xargs clang-format -i"
},
"keywords": [
"node",
"electron",
"text-selection",
"selected-text",
"selection",
"accessibility",
"cross-platform",
"napi",
"native",
"node-addon",
"mouse",
"keyboard",
"clipboard",
"input-events",
"input-hook",
"global-keyboard",
"global-mouse",
"keyboard-hook",
"mouse-hook",
"ui-automation",
"wayland",
"x11",
"windows",
"macos",
"linux"
],
"license": "MIT",
"dependencies": {
"node-addon-api": "^8.4.0",
"node-gyp-build": "^4.8.4"
},
"devDependencies": {
"@types/node": "^25.5.0",
"node-gyp": "^11.2.0",
"prebuildify": "^6.0.1",
"typescript": "^5.9.3"
},
"engines": {
"node": ">=18.0.0"
},
"gypfile": true
}