-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
36 lines (36 loc) · 912 Bytes
/
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
{
"name": "@oomol-lab/mac-power-monitor",
"version": "1.0.0",
"description": "macOS Sleep / Wake notifications",
"author": "Tao Zeyu",
"homepage": "https://github.com/oomol-lab/mac-power-monitor",
"license": "MIT",
"type": "commonjs",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"napi": {
"name": "mac-power-monitor",
"triples": {
"additional": [
"x86_64-apple-darwin",
"arm-apple-darwin"
]
}
},
"files": [
"lib"
],
"scripts": {
"clean": "cargo clean && rimraf lib",
"build": "pnpm clean && ./scripts/cross-build.sh && tsup-node",
"build:debug": "pnpm clean && napi build --platform lib && tsup-node",
"prepublishOnly": "./scripts/prepublish-only.sh"
},
"devDependencies": {
"@napi-rs/cli": "^1.0.0",
"@types/node": "^20.8.8",
"rimraf": "^5.0.5",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
}
}