-
Notifications
You must be signed in to change notification settings - Fork 153
/
package.json
95 lines (95 loc) · 2.8 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
{
"name": "maci-cli",
"version": "2.5.0",
"description": "CLI utilities for MACI",
"main": "build/ts/index.js",
"exports": {
".": {
"types": "./build/ts/index.d.ts",
"default": "./build/ts/index.js"
},
"./sdk": {
"types": "./build/ts/sdk/index.d.ts",
"default": "./build/ts/sdk/index.js"
}
},
"bin": {
"maci-cli": "./build/ts/index.js"
},
"files": [
"build",
"CHANGELOG.md",
"README.md"
],
"scripts": {
"watch": "tsc --watch",
"build": "tsc -p tsconfig.build.json",
"postbuild": "cp package.json ./build && mkdir -p ./zkeys",
"types": "tsc -p tsconfig.json --noEmit",
"test": "nyc ts-mocha --exit tests/e2e/*.test.ts tests/unit/*.test.ts",
"test:ceremony": "ts-mocha --exit tests/ceremony-params/ceremonyParams.test.ts",
"test:e2e": "ts-mocha --exit tests/e2e/e2e.test.ts",
"test:e2e-non-qv": "ts-mocha --exit tests/e2e/e2e.nonQv.test.ts",
"test:keyChange": "ts-mocha --exit tests/e2e/keyChange.test.ts",
"test:unit": "nyc ts-mocha --exit tests/unit/*.test.ts",
"test:airdrop": "nyc ts-mocha --exit tests/unit/airdrop.test.ts",
"test:genPubKey": "ts-mocha --exit tests/unit/genPubKey.test.ts",
"test:genKeypair": "ts-mocha --exit tests/unit/genKeyPair.test.ts",
"test:joinPoll": "ts-mocha --exit tests/unit/joinPoll.test.ts",
"test:timeTravel": "ts-mocha --exit tests/unit/timeTravel.test.ts",
"test:fundWallet": "ts-mocha --exit tests/unit/fundWallet.test.ts",
"test:signup": "ts-mocha --exit tests/unit/signup.test.ts",
"test:utils": "ts-mocha --exit tests/unit/utils.test.ts",
"docs": "typedoc --plugin typedoc-plugin-markdown --options ./typedoc.json"
},
"dependencies": {
"@commander-js/extra-typings": "^12.1.0",
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
"commander": "^12.1.0",
"dotenv": "^16.4.5",
"ethers": "^6.13.4",
"hardhat": "^2.22.8",
"maci-circuits": "^2.5.0",
"maci-contracts": "^2.5.0",
"maci-core": "^2.5.0",
"maci-crypto": "^2.5.0",
"maci-domainobjs": "^2.5.0",
"prompt": "^1.3.0"
},
"devDependencies": {
"@types/chai": "^4.3.9",
"@types/chai-as-promised": "^7.1.8",
"@types/mocha": "^10.0.8",
"@types/node": "^22.9.0",
"@types/prompt": "^1.1.9",
"@types/snarkjs": "^0.7.8",
"chai": "^4.3.10",
"chai-as-promised": "^7.1.2",
"mocha": "^10.7.3",
"nyc": "^17.1.0",
"snarkjs": "^0.7.5",
"ts-mocha": "^10.0.0",
"typescript": "^5.6.3"
},
"nyc": {
"reporter": [
"text",
"lcov"
],
"extensions": [
".ts"
],
"all": true,
"exclude": [
"**/*.js",
"**/*.d.ts",
"hardhat.config.ts",
"tests/**/*.ts",
"ts/index.ts"
],
"branches": ">50%",
"lines": ">50%",
"functions": ">50%",
"statements": ">50%"
}
}