-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
98 lines (98 loc) · 3.71 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "node-seal",
"version": "5.1.4",
"description": "Homomorphic Encryption for TypeScript or JavaScript using Microsoft SEAL",
"repository": {
"type": "git",
"url": "https://github.com/s0l0ist/node-seal"
},
"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",
"web assembly",
"fhe",
"crypto",
"cryptography",
"cryptosystem"
],
"main": "throws_wasm_node_umd.js",
"browser": "throws_wasm_web_umd.js",
"module": "throws_wasm_web_es.js",
"types": "throws_wasm_web_es.d.ts",
"files": [
"**/*"
],
"license": "MIT",
"scripts": {
"docs": "rm -rf ./docs/* && jsdoc -c jsdoc.json",
"benchmark": "node --experimental-wasm-simd ./submodules/SEAL/build/bin/sealbench.js",
"submodule:update": "bash scripts/submodule-update.sh",
"em:update": "bash scripts/em-update.sh",
"seal:clean": "bash scripts/seal-clean.sh",
"seal:cmake": "bash scripts/seal-cmake.sh",
"seal:make": "bash scripts/seal-make.sh",
"seal:build": "npm run seal:build:wasm",
"seal:build:bench": "export BUILD_BENCH=ON && export THROW_ON_TRANSPARENT=ON && npm run seal:cmake && npm run seal:make",
"seal:build:wasm": "npm run seal:build:wasm:node && npm run seal:build:wasm:web && npm run seal:build:wasm:worker",
"seal:build:wasm:node": "export ENVIRONMENT='node' && bash scripts/seal-build-wasm.sh",
"seal:build:wasm:web": "export ENVIRONMENT='web,webview' && bash scripts/seal-build-wasm.sh",
"seal:build:wasm:worker": "export ENVIRONMENT='worker' && bash scripts/seal-build-wasm.sh",
"seal": "npm run seal:cmake && npm run seal:make && npm run seal:build",
"build:allows": "export THROW_ON_TRANSPARENT=OFF && npm run seal",
"build:throws": "export THROW_ON_TRANSPARENT=ON && npm run seal",
"build:clean": "rm -rf ./dist/* && rm -rf ./tsc-out/* && rm -rf ./src/bin/*",
"build": "npm run build:allows && npm run build:throws",
"clean": "npm run seal:clean && npm run build:clean",
"compile": "tsc",
"format": "prettier --write src",
"lint": "eslint --fix 'src/**/*.ts'",
"test": "jest src/**/*.ts",
"coverage": "jest src --coverage",
"rollup": "NODE_OPTIONS=--max_old_space_size=16384 rollup -c",
"postrollup": "bash scripts/postrollup.sh",
"prepublishOnly": "echo 'Please run \"npm run publish\" instead' && exit 1",
"publish:test": "npm --dry-run publish ./dist/node-seal-*.tgz",
"publish": "npm publish --access=public ./dist/node-seal-*.tgz"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/preset-env": "^7.24.5",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.12",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"better-docs": "^2.7.3",
"codecov": "^3.8.3",
"env-cmd": "^10.1.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.5.0",
"eslint-plugin-jsdoc": "^48.2.5",
"eslint-plugin-prettier": "^5.1.3",
"esm": "^3.2.25",
"jest": "^29.7.0",
"jsdoc": "^4.0.3",
"path": "^0.12.7",
"prettier": "^3.2.5",
"rollup": "^4.18.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-typescript2": "^0.36.0",
"taffydb": "^2.7.3",
"ts-jest": "^29.1.3",
"typescript": "^5.4.5"
}
}