-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.44 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 2.44 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
66
67
68
69
70
71
72
{
"name": "liboqs-node",
"version": "0.2.0",
"description": "Node.js bindings for liboqs.",
"author": "Vietbao Tran <tapucosmo@gmail.com> (TapuCosmo)",
"license": "MIT",
"main": "lib/index.js",
"scripts": {
"build": "node-gyp rebuild",
"build:all": "npm run liboqs:build && node-gyp rebuild",
"build:package": "npm run build:all && node-pre-gyp package",
"docs:build": "jsdoc -c ./docs/jsdoc.json",
"ensure_submodules": "node ./scripts/ensure_submodules.js",
"install": "node-pre-gyp install --fallback-to-build",
"liboqs:build": "cd deps/liboqs && rm -rf ./build && mkdir build && cd build && cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release -DOQS_BUILD_ONLY_LIB=ON -DOQS_USE_OPENSSL=ON -DOQS_DIST_BUILD=ON -GNinja .. && ninja",
"liboqs:build_if_not_exists": "node -e \"require('fs').existsSync('./deps/liboqs/build/include/oqs/oqs.h') || require('child_process').execSync('npm run liboqs:build', {stdio: 'inherit'})\"",
"prebuild": "npm run ensure_submodules && npm run liboqs:build_if_not_exists",
"publish:prepare": "node-pre-gyp configure && node-pre-gyp rebuild && node-pre-gyp package",
"publish:draft": "NODE_PRE_GYP_GITHUB_TOKEN=$(cat publish-token) node-pre-gyp-github publish",
"tag_upload_binary_release": "node ./scripts/tag_upload_binary_release.js",
"test": "mocha --bail false"
},
"binary": {
"module_name": "oqs_node",
"module_path": "./build/Release",
"host": "https://github.com/TapuCosmo/liboqs-node/releases/download/",
"remote_path": "v{version}",
"package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz"
},
"homepage": "https://github.com/TapuCosmo/liboqs-node#readme",
"bugs": {
"url": "https://github.com/TapuCosmo/liboqs-node/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/TapuCosmo/liboqs-node.git"
},
"keywords": [
"liboqs",
"oqs",
"quantum",
"crypto",
"cryptography",
"post-quantum",
"encrypt",
"encryption",
"asymmetric"
],
"dependencies": {
"bindings": "^1.5.0",
"node-addon-api": "^3.2.1",
"node-pre-gyp": "^0.17.0"
},
"devDependencies": {
"@octokit/core": "^3.5.1",
"chai": "^4.3.4",
"chai-bytes": "^0.1.2",
"docdash": "^1.2.0",
"jsdoc": "^3.6.7",
"mocha": "^8.4.0"
},
"engines": {
"node": ">=12.11.0"
},
"files": [
"lib/",
"src/",
"scripts/",
"binding.gyp",
"npm-shrinkwrap.json"
]
}