-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 1.5 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
{
"name": "clip-spy",
"version": "0.0.3",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib",
"addon.js",
"addon.d.ts",
"README.md",
"CHANGELOG.md",
"package.json"
],
"napi": {
"name": "clip-spy",
"package": {
"name": "@magicdawn/clip-spy"
},
"triples": {
"additional": [
"aarch64-apple-darwin"
]
}
},
"license": "MIT",
"devDependencies": {
"@magicdawn/prettier-config": "^0.0.1",
"@napi-rs/cli": "^2.4.0",
"@swc/core": "^1.2.129",
"@swc/helpers": "^0.3.2",
"@types/fs-extra": "^9.0.13",
"@types/node": "^17.0.8",
"fs-extra": "^10.0.0",
"husky": "^4",
"lint-staged": "^12.2.1",
"prettier": "^2.5.1",
"ts-node": "^10.4.0",
"typescript": "^4.5.4"
},
"engines": {
"node": ">= 10"
},
"scripts": {
"artifacts": "napi artifacts",
"build:ts": "rm -rf lib; rm *.tsbuildinfo; tsc --declaration",
"build:addon": "napi build --platform --js addon.js --dts addon.d.ts --release",
"build:addon:debug": "napi build --platform --js addon.js --dts addon.d.ts",
"prepublishOnly": "npm run build:ts && ./scripts/opt-dep.ts --add",
"postpublish": "./scripts/opt-dep.ts --remove",
"start": "ts-node ./src/index.ts",
"start:debug": "node --inspect-brk -r ts-node/register ./src/index.ts"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,less,jsx,ts,tsx}": [
"prettier --write"
]
}
}