-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 3.26 KB
/
package.json
File metadata and controls
126 lines (126 loc) · 3.26 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "@miniben90/x-win",
"description": "This package allows you to retrieve precise information about active and open windows on Windows, MacOS, and Linux. You can obtain the position, size, title, and other memory of windows.",
"version": "1.6.0",
"main": "index.js",
"types": "index.d.ts",
"files": [
"index.d.ts",
"index.js",
"README.md",
"LICENSE"
],
"napi": {
"binaryName": "x-win",
"targets": [
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"i686-pc-windows-msvc",
"x86_64-pc-windows-msvc",
"aarch64-pc-windows-msvc",
"universal-apple-darwin"
]
},
"author": {
"name": "BENKHADRA Hocine",
"email": "contact@benkhadra.com",
"url": "https://benkhadra.com/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/miniben-90/x-win.git"
},
"license": "MIT",
"keywords": [
"active",
"window",
"windows",
"active-window",
"active",
"current",
"position",
"title",
"list",
"open"
],
"devDependencies": {
"@emnapi/core": "^1.9.1",
"@emnapi/runtime": "^1.9.1",
"@napi-rs/cli": "^3.6.0",
"@oxc-node/core": "^0.1.0",
"@taplo/cli": "^0.7.0",
"@tybys/wasm-util": "^0.10.1",
"@types/node": "^25.5.0",
"ava": "^7.0.0",
"chalk": "^5.6.2",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"npm-run-all2": "^8.0.4",
"oxlint": "^1.58.0",
"prettier": "^3.8.1",
"tinybench": "^6.0.0",
"typescript": "^6.0.2"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
"oxlint --fix"
],
"*.@(js|ts|tsx|yml|yaml|md|json)": [
"prettier --write"
],
"*.toml": [
"taplo format"
]
},
"ava": {
"extensions": {
"ts": "module"
},
"workerThreads": false,
"timeout": "3m",
"failFast": true,
"environmentVariables": {
"OXC_TSCONFIG_PATH": "./__test__/tsconfig.json"
},
"nodeArguments": [
"--import",
"@oxc-node/core/register"
]
},
"engines": {
"node": ">= 10.16.0 < 11 || >= 11.8.0 < 12 || >= 12.0.0"
},
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always"
},
"scripts": {
"artifacts": "napi artifacts",
"bench": "node --import @oxc-node/core/register benchmark/bench.ts",
"build": "napi build --platform --release",
"build:debug": "napi build --platform",
"format": "run-p format:prettier format:rs format:toml",
"format:prettier": "prettier . -w",
"format:toml": "taplo format",
"format:rs": "cargo fmt",
"lint": "oxlint .",
"prepublishOnly": "napi prepublish -t npm",
"test": "ava",
"version": "napi version",
"prepare": "husky",
"clippy:rs": "cd ./x-win-rs && cargo clippy --all-features -- -D warnings",
"clippy:napi": "cargo clippy --all-features -- -D warnings",
"clippy": "yarn clippy:rs && yarn clippy:napi",
"fmt:rs": "cd ./x-win-rs && cargo fmt -- --check",
"fmt:napi": "cargo fmt -- --check",
"fmt": "yarn fmt:rs && yarn fmt:napi",
"checkall": "yarn format && yarn lint && yarn clippy && yarn fmt",
"universalize": "napi universalize"
},
"packageManager": "yarn@4.13.0"
}