-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.57 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 1.57 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
{
"name": "c-cpp-zig-build",
"version": "0.2.1",
"description": "Build native C/C++ Node.js addons and libraries with Zig — downloads the Zig toolchain and the Node headers for you, and ships a build.zig template that configures a whole project from a handful of parameters.",
"type": "module",
"main": "./lib/index.js",
"types": "./index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./lib/index.js"
},
"./package.json": "./package.json"
},
"bin": {
"c-cpp-zig-build": "lib/cli.js",
"czb": "lib/cli.js"
},
"files": [
"lib",
"zig",
"index.d.ts",
"README.md",
"CHANGELOG.md",
"AGENTS.md",
"LICENSE"
],
"scripts": {
"test": "node --test tests/",
"test:examples": "node scripts/test-examples.mjs",
"lint": "biome check --error-on-warnings .",
"lint:fix": "biome check --error-on-warnings . --write",
"format": "biome format . --write",
"fmt": "node lib/cli.js zig -- fmt zig/build.zig zig/src/",
"fmt:check": "node lib/cli.js zig -- fmt --check zig/build.zig zig/src/"
},
"keywords": [
"zig",
"native",
"addon",
"node-api",
"napi",
"n-api",
"c",
"c++",
"build",
"cross-compile",
"node-gyp-alternative"
],
"repository": {
"type": "git",
"url": "git+https://github.com/gradido/c_cpp_zig_build.git"
},
"license": "Apache-2.0",
"engines": {
"node": ">=18.17"
},
"dependencies": {
"node-addon-api": "8.9.2",
"node-api-headers": "1.9.0"
},
"devDependencies": {
"@biomejs/biome": "2.5.9"
}
}