-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
64 lines (64 loc) · 1.88 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
{
"name": "@ironcorelabs/recrypt-node-binding",
"version": "0.10.2-pre.3",
"description": "Bindings to allow the recrypt-rs library to work via NodeJS.",
"repository": {
"type": "git",
"url": "https://github.com/IronCoreLabs/recrypt-node-binding.git"
},
"homepage": "https://ironcorelabs.com",
"author": "IronCore Labs",
"license": "AGPL-3.0-only",
"main": "index.js",
"types": "index.d.ts",
"engines": {
"node": ">=12.0.0"
},
"os": [
"darwin",
"linux",
"win32"
],
"cpu": [
"x64",
"arm64"
],
"scripts": {
"compile": "cargo-cp-artifact -a cdylib recrypt_node ./bin-package/index.node -- cargo build --release --message-format=json-render-diagnostics",
"clean": "cargo clean && rm -rf dist && rm -rf bin-package && rm -rf build",
"benchmark": "node benchmark/index.js",
"test": "jest --maxWorkers=50%"
},
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.7"
},
"devDependencies": {
"@types/node": "^16.11.11",
"benchmark": "^2.1.4",
"cargo-cp-artifact": "^0.1.6",
"jest": "^27.4.0",
"jest-extended": "^1.2.0",
"shelljs": "^0.8.4"
},
"prettier": {
"printWidth": 160,
"tabWidth": 4,
"trailingComma": "es5",
"bracketSpacing": false,
"jsxBracketSameLine": true,
"arrowParens": "always"
},
"jest": {
"testEnvironment": "node",
"setupFilesAfterEnv": [
"jest-extended"
]
},
"binary": {
"module_name": "index",
"module_path": "./bin-package",
"host": "https://github.com/IronCoreLabs/recrypt-node-binding/releases/download/",
"package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}-{libc}.tar.gz",
"remote_path": "{version}"
}
}