-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
85 lines (85 loc) · 2.85 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
{
"name": "epir",
"version": "0.0.15",
"description": "EllipticPIR client library (Node.js / TypeScript bindings).",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"prepack": "npm run clean && npm run build && npm run em:build",
"preinstall": "npm run c:build",
"install": "node-gyp rebuild",
"postinstall": "",
"build": "tsc",
"clean": "rm -rf build build_c build_em build_nuxt dist coverage",
"c:build": "mkdir -p build_c && cd build_c && cmake ../ -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF && make -j$(node -e 'console.log(require(\"os\").cpus().length)')",
"gyp:rebuild": "node-gyp rebuild",
"em:build": "npm run em:mkdir && npm run em:cmake && npm run em:make",
"em:mkdir": "mkdir -p build_em",
"em:cmake": "cd build_em && EM_NODE_JS=$(which node) emcmake cmake -DCMAKE_INSTALL_PREFIX=../dist ..",
"em:make": "cd build_em && EM_NODE_JS=$(which node) emmake make -j$(node -e 'console.log(require(\"os\").cpus().length)') all install",
"wasm:build": "cd src_rs && wasm-pack build --target bundler -- --features wasm",
"nuxt:serve": "nuxt dev",
"nuxt:build": "nuxt build",
"nuxt:generate": "rm -rf ./build_nuxt && nuxt generate",
"epir_genm": "./build_c/epir-prefix/src/epir-build/epir_genm",
"test": "npm run epir_genm && jest --coverage --verbose",
"lint": "eslint ./src_ts --ext .ts"
},
"bin": {
"epir_genm": "./build_c/epir-prefix/src/epir-build/epir_genm"
},
"files": [
"@types",
"components/*",
"pages/*",
"src_c/*",
"src_ts/*",
"dist/*",
"CMakeLists.txt",
"binding.gyp"
],
"keywords": [
"cryptography",
"PIR",
"private information retrieval",
"ElGamal",
"EC-ElGamal",
"elliptic curve",
"Crypto Incognito"
],
"author": "Masahiko Hyuga <[email protected]>",
"homepage": "https://crypto-incognito.com/",
"repository": {
"type": "git",
"url": "https://github.com/EllipticPIR/EllipticPIR.git"
},
"license": "MIT",
"devDependencies": {
"@nuxt/typescript-build": "^2.1.0",
"@nuxtjs/vuetify": "^1.11.3",
"@types/bindings": "^1.5.0",
"@types/jest": "^26.0.23",
"@types/node": "^14.14.37",
"@typescript-eslint/eslint-plugin": "^4.25.0",
"@typescript-eslint/parser": "^4.25.0",
"eslint": "^7.27.0",
"fake-indexeddb": "^3.1.2",
"jest": "^27.0.4",
"libepir-sodium-wasm": "^0.0.3",
"node-gyp": "^8.0.0",
"nuxt": "^2.15.6",
"sass": "^1.32.13",
"ts-jest": "^27.0.3",
"ts-node": "^10.0.0",
"typescript": "^4.2.4",
"vue-class-component": "^7.2.6",
"vue-property-decorator": "^9.1.2",
"worker-loader": "^3.0.8",
"workerloader-jest-transformer": "https://github.com/visvirial/workerloader-jest-transformer.git#jest-27"
},
"dependencies": {
"bindings": "^1.5.0",
"dexie": "^3.0.3",
"node-addon-api": "^3.1.0"
}
}