-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
33 lines (33 loc) · 1007 Bytes
/
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
{
"name": "sss-wasm",
"version": "0.4.0",
"description": "wasm bindings for the sss secret sharing library",
"author": "Bakaoh",
"type": "module",
"repository": "https://github.com/3box/sss-wasm.git",
"license": "Apache-2.0",
"main": "lib/node.js",
"module": "lib/node.js",
"browser": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
"node": "./lib/node.js",
"default": "./lib/index.js"
},
"files": [
"lib/"
],
"devDependencies": {
"gh-pages": "^4.0.0",
"jsverify": "^0.8.4",
"serve": "^14.0.1",
"shuffle-array": "1.0"
},
"scripts": {
"build": "emcc -O3 -s WASM=1 -s EXPORT_ES6=1 -s MODULARIZE=1 -s EXPORT_NAME=\"Wrapper\" -s EXTRA_EXPORTED_RUNTIME_METHODS='[\"cwrap\"]' -I sss lib/wrapper.c sss/hazmat.c sss/tweetnacl.c sss/sss.c lib/randombytes.c -o lib/gen/wrapper.js",
"test": "node ./test/test.js",
"deploy": "gh-pages -d example",
"serve": "serve ."
},
"homepage": "https://github.com/3box/sss-wasm#readme"
}