-
Notifications
You must be signed in to change notification settings - Fork 424
/
package.json
82 lines (82 loc) · 2.13 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
{
"name": "snarkjs",
"type": "module",
"version": "0.7.5",
"description": "zkSNARKs implementation in JavaScript",
"main": "./build/main.cjs",
"module": "./main.js",
"exports": {
".": {
"node": {
"import": "./main.js",
"require": "./build/main.cjs"
},
"browser": "./build/browser.esm.js",
"umd": "./build/snarkjs.min.js"
}
},
"files": [
"COPYING",
"README.md",
"build/",
"cli.js",
"main.js",
"src/",
"templates/"
],
"scripts": {
"test": "mocha",
"testv12": "mocha test/fflonk.test.js test/fullprocess.js test/keypar_test.js test/polynomial.test.js",
"build": "npm run buildcjs && npm run buildcli && npm run buildiife && npm run buildiifemin && npm run buildesm",
"buildcjs": "rollup -c config/rollup.cjs.config.js",
"buildcli": "rollup -c config/rollup.cli.config.js",
"buildiife": "BROWSER=true rollup -c config/rollup.iife.config.js",
"buildiifemin": "BROWSER=true rollup -c config/rollup.iife_min.config.js",
"buildesm": "BROWSER=true rollup -c config/rollup.browser.esm.config"
},
"bin": {
"snarkjs": "build/cli.cjs"
},
"directories": {
"templates": "templates"
},
"keywords": [
"zksnark",
"zcash",
"ethereum",
"zero",
"knowledge",
"cryptography",
"circuit"
],
"author": "Jordi Baylina",
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/iden3/snarkjs.git"
},
"dependencies": {
"@iden3/binfileutils": "0.0.12",
"bfj": "^7.0.2",
"blake2b-wasm": "^2.4.0",
"circom_runtime": "0.1.28",
"ejs": "^3.1.6",
"fastfile": "0.0.20",
"ffjavascript": "0.3.1",
"js-sha3": "^0.8.0",
"logplease": "^1.2.15",
"r1csfile": "0.0.48"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^14.0.0",
"@rollup/plugin-replace": "^4.0.0",
"@rollup/plugin-virtual": "^2.0.3",
"eslint": "^8.7.0",
"mocha": "^10.2.0",
"rollup": "^2.36.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^5.6.0"
}
}