This repository has been archived by the owner on Nov 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
57 lines (57 loc) · 1.83 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
{
"name": "tigerbeetle-node",
"version": "0.11.0",
"description": "TigerBeetle Node.js client",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/tigerbeetledb/tigerbeetle-node.git"
},
"preferUnplugged": true,
"files": [
"LICENSE",
"README.md",
"dist",
"!dist/client.node",
"package.json",
"package-lock.json",
"scripts/download_node_headers.sh",
"src/c.zig",
"src/benchmark.ts",
"src/index.ts",
"src/node.zig",
"src/test.ts",
"src/tigerbeetle/src",
"src/tigerbeetle/scripts",
"src/translate.zig",
"tsconfig.json"
],
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"benchmark": "./scripts/benchmark.sh",
"test": "node dist/test",
"postinstall": "npm run install_zig && npm run download_node_headers && npm run build_lib",
"install_zig": "sh ./src/tigerbeetle/scripts/install_zig.sh",
"download_node_headers": "sh ./scripts/download_node_headers.sh",
"build": "npm run build_tsc && npm run build_lib",
"build_tsc": "./node_modules/typescript/bin/tsc",
"build_lib": "mkdir -p dist && zig/zig build-lib -mcpu=baseline -OReleaseSafe -dynamic -lc -isystem build/node-$(node --version)/include/node src/node.zig -fallow-shlib-undefined -femit-bin=dist/client.node",
"prepack": "git submodule deinit --all && git submodule update --init && npm run build_tsc",
"clean": "rm -rf build dist node_modules src/zig-cache zig"
},
"author": "TigerBeetle, Inc",
"license": "Apache-2.0",
"contributors": [
"Donovan Changfoot <don@coil.com>",
"Isaac Freund <isaac.freund@coil.com>",
"Jason Bruwer <jason.bruwer@coil.com>",
"Joran Dirk Greef <joran@tigerbeetle.com>"
],
"devDependencies": {
"@types/node": "^14.14.41",
"typescript": "^4.0.2"
}
}