-
-
Notifications
You must be signed in to change notification settings - Fork 167
/
package.json
101 lines (101 loc) · 2.14 KB
/
package.json
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "active-win",
"version": "8.2.1",
"description": "Get metadata about the active window (title, id, bounds, owner, URL, etc)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/active-win.git"
},
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "[email protected]",
"url": "https://sindresorhus.com"
},
"sideEffects": false,
"engines": {
"node": ">=14"
},
"main": "./index",
"types": "./index.d.ts",
"binary": {
"module_name": "node-active-win",
"module_path": "./lib/binding/napi-{napi_build_version}-{platform}-{libc}-{arch}",
"host": "https://github.com/sindresorhus/active-win/releases/download/",
"remote_path": "v{version}",
"package_name": "napi-{napi_build_version}-{platform}-{libc}-{arch}.tar.gz",
"napi_versions": [
3,
6
]
},
"scripts": {
"test": "xo && npm run build:macos && ava && tsd",
"test-ci": "xo && tsd",
"build:windows:install": "node-pre-gyp install --fallback-to-build",
"build:windows": "node-pre-gyp build",
"build:windows:debug": "node-pre-gyp build --debug",
"build:macos": "swift build --configuration=release --arch arm64 --arch x86_64 && mv .build/apple/Products/Release/active-win main",
"install": "node-pre-gyp install --fallback-to-build"
},
"files": [
"index.js",
"index.d.ts",
"lib",
"main",
"Sources/windows/main.cc",
"binding.gyp"
],
"keywords": [
"macos",
"linux",
"windows",
"app",
"application",
"window",
"win",
"active",
"focused",
"current",
"title",
"name",
"id",
"pid",
"screenshot",
"capture",
"metadata",
"bounds",
"memory",
"usage",
"bundleid",
"browser",
"url",
"chrome",
"safari",
"edge",
"brave"
],
"devDependencies": {
"ava": "^2.4.0",
"tsd": "^0.14.0",
"xo": "^0.38.2",
"node-pre-gyp-github": "^1.4.4"
},
"optionalDependencies": {
"@mapbox/node-pre-gyp": "^1.0.10",
"node-addon-api": "^5.0.0",
"node-gyp": "^9.3.0"
},
"peerDependencies": {
"node-gyp": "^9.3.0"
},
"peerDependenciesMeta": {
"node-gyp": {
"optional": true
}
},
"ava": {
"verbose": true
}
}