-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.28 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 2.28 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": "node-seal",
"version": "7.0.0",
"description": "Homomorphic Encryption for TypeScript or JavaScript using Microsoft SEAL",
"repository": {
"type": "git",
"url": "git+https://github.com/s0l0ist/node-seal.git"
},
"homepage": "https://s0l0ist.github.io/seal-sandbox/",
"author": {
"name": "Nick Angelou",
"email": "[email protected]",
"url": "https://s0l0ist.github.io/seal-sandbox/"
},
"keywords": [
"homomorphic",
"encryption",
"homomorphic-encryption",
"microsoft seal",
"webassembly",
"fhe",
"crypto",
"cryptography",
"cryptosystem"
],
"type": "module",
"main": "./dist/index_throws.js",
"types": "./dist/index_throws.d.ts",
"exports": {
".": {
"types": "./dist/index_throws.d.ts",
"import": "./dist/index_throws.js"
},
"./throws": {
"types": "./dist/index_throws.d.ts",
"import": "./dist/index_throws.js"
},
"./allows": {
"types": "./dist/index_allows.d.ts",
"import": "./dist/index_allows.js"
}
},
"files": [
"dist"
],
"license": "MIT",
"scripts": {
"clean": "bash scripts/seal-clean.sh",
"wasm:cmake": "bash scripts/seal-cmake.sh",
"wasm:make": "bash scripts/seal-make.sh",
"wasm:build": "bash scripts/seal-build-wasm.sh",
"wasm:throws": "export THROW_ON_TRANSPARENT=ON && npm run wasm:cmake && npm run wasm:make && npm run wasm:build",
"wasm:allows": "export THROW_ON_TRANSPARENT=OFF && npm run wasm:cmake && npm run wasm:make && npm run wasm:build",
"wasm:bench": "export BUILD_BENCH=ON && export THROW_ON_TRANSPARENT=ON && npm run wasm:cmake && npm run wasm:make && echo '{ \"type\": \"commonjs\" }' > ./submodules/SEAL/build/bin/package.json",
"wasm": "npm run wasm:throws && npm run wasm:allows",
"build": "npm run wasm",
"compile": " tsc && cp src/seal_* dist/",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"benchmark": "node submodules/SEAL/build/bin/sealbench.js",
"update:submodule": "bash scripts/submodule-update.sh",
"update:emsdk": "bash scripts/em-update.sh"
},
"devDependencies": {
"@types/node": "^24.10.0",
"@vitest/coverage-v8": "^4.0.8",
"typescript": "^5.9.3",
"vite": "^7.2.2",
"vitest": "^4.0.8"
}
}