forked from privacy-scaling-explorations/maci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 3.89 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
99
100
{
"name": "maci-contracts",
"version": "1.2.0",
"description": "Solidity Smart Contracts for MACI (Minimal Anti-Collusion Infrastructure)",
"main": "build/ts/index.js",
"exports": {
".": {
"types": "./build/ts/index.d.ts",
"default": "./build/ts/index.js"
},
"./typechain-types": {
"types": "./build/typechain-types/index.d.ts",
"default": "./build/typechain-types/index.js"
}
},
"bin": {
"maci-contracts": "./build/ts/index.js"
},
"files": [
"build",
"contracts",
"README.md",
"CHANGELOG.md"
],
"scripts": {
"watch": "tsc --watch",
"hardhat": "hardhat node",
"compileSol": "./scripts/compileSol.sh $1",
"moveIntegrationArtifacts": "cp -r artifacts/ ../integrationTests/artifacts",
"prebuild": "pnpm run compileSol",
"build": "tsc -p tsconfig.build.json",
"postbuild": "cp -r ./artifacts ./build",
"types": "tsc -p tsconfig.json --noEmit",
"docs": "hardhat docgen",
"test": "hardhat test --network hardhat",
"test:maci": "pnpm run test ./tests/MACI.test.ts",
"test:poll": "pnpm run test ./tests/Poll.test.ts",
"test:messageProcessor": "pnpm run test ./tests/MessageProcessor.test.ts",
"test:tally": "pnpm run test ./tests/Tally.test.ts",
"test:tallyNonQv": "pnpm run test ./tests/TallyNonQv.test.ts",
"test:hasher": "pnpm run test ./tests/Hasher.test.ts",
"test:utilities": "pnpm run test ./tests/Utilities.test.ts",
"test:signupGatekeeper": "pnpm run test ./tests/SignUpGatekeeper.test.ts",
"test:verifier": "pnpm run test ./tests/Verifier.test.ts",
"test:accQueue": "pnpm run test ./tests/AccQueue.test.ts",
"test:accQueueBenchmark": "pnpm run test ./tests/AccQueueBenchmark.test.ts",
"test:hasherBenchmarks": "pnpm run test ./tests/HasherBenchmarks.test.ts",
"test:vkRegistry": "pnpm run test ./tests/VkRegistry.test.ts",
"test:pollFactory": "pnpm run test ./tests/PollFactory.test.ts",
"test:subsidy": "pnpm run test ./tests/Subsidy.test.ts",
"test:eas_gatekeeper": "pnpm run test ./tests/EASGatekeeper.test.ts",
"deploy": "hardhat deploy-full",
"deploy-poll": "hardhat deploy-poll",
"verify": "hardhat verify-full",
"merge": "hardhat merge",
"prove": "hardhat prove",
"deploy:localhost": "pnpm run deploy",
"deploy:sepolia": "pnpm run deploy --network sepolia",
"deploy:optimism-sepolia": "pnpm run deploy --network optimism_sepolia",
"deploy-poll:localhost": "pnpm run deploy-poll",
"deploy-poll:sepolia": "pnpm run deploy-poll --network sepolia",
"deploy-poll:optimism-sepolia": "pnpm run deploy-poll --network optimism_sepolia",
"merge:localhost": "pnpm run merge",
"merge:sepolia": "pnpm run merge --network sepolia",
"merge:optimism-sepolia": "pnpm run merge --network optimism_sepolia",
"prove:localhost": "pnpm run prove",
"prove:sepolia": "pnpm run prove --network sepolia",
"prove:optimism-sepolia": "pnpm run prove --network optimism_sepolia",
"verify:sepolia": "pnpm run verify --network sepolia",
"verify:optimism-sepolia": "pnpm run verify --network optimism_sepolia"
},
"dependencies": {
"@nomicfoundation/hardhat-ethers": "^3.0.5",
"@nomicfoundation/hardhat-toolbox": "^4.0.0",
"@openzeppelin/contracts": "^4.8.0",
"circomlibjs": "^0.1.7",
"ethers": "^6.11.1",
"hardhat": "^2.21.1",
"maci-circuits": "^1.2.0",
"maci-core": "^1.2.0",
"maci-crypto": "^1.2.0",
"maci-domainobjs": "^1.2.0",
"solidity-docgen": "^0.6.0-beta.36"
},
"devDependencies": {
"@types/chai": "^4.3.11",
"@types/circomlibjs": "^0.1.6",
"@types/lowdb": "^1.0.15",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.25",
"@types/snarkjs": "^0.7.8",
"chai": "^4.3.10",
"dotenv": "^16.4.5",
"hardhat-artifactor": "^0.2.0",
"hardhat-contract-sizer": "^2.10.0",
"lowdb": "^1.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.4.2"
}
}