generated from napi-rs/package-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 2.04 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
{
"name": "@alphahydrae/exec",
"version": "1.1.0",
"description": "The execvp function for Node.js",
"main": "exec.js",
"repository": {
"type": "git",
"url": "git+https://github.com/AlphaHydrae/node-exec.git"
},
"author": "Simon Oulevay <[email protected]>",
"license": "MIT",
"keywords": [
"exec",
"execvp"
],
"files": [
"exec.d.ts",
"exec.js",
"index.d.ts",
"index.js"
],
"napi": {
"name": "exec",
"triples": {
"defaults": false,
"additional": [
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"aarch64-apple-darwin",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl"
]
}
},
"scripts": {
"artifacts": "napi artifacts",
"build": "napi build --platform --release",
"build:debug": "napi build --platform",
"build:package": "node scripts/build-packages.mjs",
"check": "npm run lint && npm run format",
"check:write": "npm run lint && npm run format:write",
"doctoc": "doctoc --github --notitle README.md && prettier --write README.md",
"docs": "jsdoc --destination docs --readme README.md exec.js",
"format": "npm run format:cargo && npm run format:prettier",
"format:cargo": "cargo fmt --check",
"format:cargo:write": "cargo fmt",
"format:prettier": "prettier --check .",
"format:prettier:write": "prettier --write .",
"format:write": "npm run format:cargo:write && npm run format:prettier:write",
"lint": "cargo clippy",
"prepublishOnly": "napi prepublish -t npm",
"test": "jest",
"version": "napi version && npm run build:package && prettier --write ./npm/*/package.json"
},
"devDependencies": {
"@napi-rs/cli": "^2.18.4",
"@swc-node/register": "^1.10.6",
"@swc/core": "^1.10.12",
"chalk": "^5.3.0",
"doctoc": "^2.2.1",
"jest": "^29.7.0",
"jsdoc": "^4.0.4",
"npm-run-all2": "^7.0.0",
"prettier": "^3.4.2",
"typescript": "^5.5.3"
},
"engines": {
"node": "^18 || ^20 || ^22"
}
}