forked from privacy-scaling-explorations/maci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.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
{
"name": "maci-circuits",
"version": "2.4.0",
"description": "zk-SNARK circuits for MACI",
"main": "build/ts/index.js",
"files": [
"build",
"circom",
"circomkit.json",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"scripts": {
"build-test-circuits-c": "ts-node ./ts/compile.ts --cWitness",
"build-test-circuits-wasm": "ts-node ./ts/compile.ts",
"gen-zkeys": "ts-node ./ts/genZkeys.ts",
"info": "NODE_OPTIONS=--max-old-space-size=4096 ts-node ./ts/info.ts",
"watch": "tsc --watch",
"build": "tsc -p tsconfig.build.json",
"circom:build": "NODE_OPTIONS=--max-old-space-size=4096 circomkit compile",
"circom:setup": "NODE_OPTIONS=--max-old-space-size=4096 circomkit setup",
"types": "tsc -p tsconfig.json --noEmit",
"mocha-test": "NODE_OPTIONS=--max-old-space-size=4096 ts-mocha --exit -g '^(?!.*\\[fuzz\\]).*$'",
"test": "pnpm run mocha-test ts/__tests__/*.test.ts",
"test:fuzz": "NODE_OPTIONS=--max-old-space-size=4096 ts-mocha --exit -g '\\[fuzz\\]' ./ts/__tests__/*.test.ts",
"test:hasher": "pnpm run mocha-test ts/__tests__/Hasher.test.ts",
"test:slAndBallotTransformer": "pnpm run mocha-test ts/__tests__/StateLeafAndBallotTransformer.test.ts",
"test:messageToCommand": "pnpm run mocha-test ts/__tests__/MessageToCommand.test.ts",
"test:messageValidator": "pnpm run mocha-test ts/__tests__/MessageValidator.test.ts",
"test:verifySignature": "pnpm run mocha-test ts/__tests__/VerifySignature.test.ts",
"test:splicer": "pnpm run mocha-test ts/__tests__/Splicer.test.ts",
"test:privToPubKey": "pnpm run mocha-test ts/__tests__/PrivToPubKey.test.ts",
"test:calculateTotal": "pnpm run mocha-test ts/__tests__/CalculateTotal.test.ts",
"test:processMessages": "pnpm run mocha-test ts/__tests__/ProcessMessages.test.ts",
"test:tallyVotes": "pnpm run mocha-test ts/__tests__/TallyVotes.test.ts",
"test:ceremonyParams": "pnpm run mocha-test ts/__tests__/CeremonyParams.test.ts",
"test:incrementalQuinaryTree": "pnpm run mocha-test ts/__tests__/IncrementalQuinaryTree.test.ts"
},
"dependencies": {
"@zk-kit/circuits": "^0.4.0",
"circomkit": "^0.3.1",
"circomlib": "^2.0.5",
"maci-core": "^2.4.0",
"maci-crypto": "^2.4.0",
"maci-domainobjs": "^2.4.0",
"snarkjs": "^0.7.5"
},
"devDependencies": {
"@types/chai": "^4.3.11",
"@types/chai-as-promised": "^7.1.8",
"@types/mocha": "^10.0.8",
"@types/node": "^22.9.0",
"@types/snarkjs": "^0.7.8",
"@zk-kit/baby-jubjub": "^1.0.3",
"chai": "^4.3.10",
"chai-as-promised": "^7.1.2",
"fast-check": "^3.23.1",
"glob": "^11.0.0",
"mocha": "^10.7.3",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.6.3"
}
}