This repository has been archived by the owner on Jul 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 3.46 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "elekton-contracts",
"version": "0.1.0",
"description": "Solidity smart contracts to vote anonymously on a free-gas network (Besu) using zk-SNARK.",
"keywords": [
"typescript",
"ethereum",
"ethereum-contract",
"solidity",
"contracts",
"zk-snarks",
"anonymous",
"voting"
],
"files": [
"contracts/",
"scripts/",
"test/",
"types/",
"LICENSE",
"README.md"
],
"scripts": {
"start": "besu --config-file=besu.config.toml",
"compile": "hardhat compile",
"clean": "hardhat clean",
"test": "hardhat test",
"deploy": "hardhat deploy",
"snark": "ts-node scripts/create-snark-artifacts.ts",
"lint": "solhint contracts/**/*.sol",
"commit": "git-cz",
"precommit": "lint-staged"
},
"lint-staged": {
"{scripts,test}/**/*.ts": [
"prettier --write",
"eslint --fix"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/cedoor/elekton-contracts.git"
},
"author": {
"name": "Omar Desogus",
"email": "[email protected]",
"url": "https://cedoor.dev"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/cedoor/elekton-contracts/issues"
},
"homepage": "https://github.com/cedoor/elekton-contracts#readme",
"prettier": {
"semi": false,
"arrowParens": "always",
"trailingComma": "none"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@cedoor/smt": "^0.1.6",
"@commitlint/cli": "^12.0.1",
"@commitlint/config-conventional": "^12.0.1",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@types/chai": "^4.2.15",
"@types/mocha": "^8.2.2",
"@types/node": "^14.14.37",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"blake-hash": "^2.0.0",
"bn.js": "^5.2.0",
"chai": "^4.3.4",
"circom": "^0.5.42",
"circomlib": "^0.5.1",
"commitizen": "^4.2.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"ethereum-waffle": "^3.3.0",
"ethers": "^5.0.32",
"fastfile": "0.0.19",
"ffjavascript": "^0.2.35",
"hardhat": "^2.1.2",
"js-logger": "^1.6.1",
"lint-staged": "^10.5.4",
"prettier": "2.2.1",
"snarkjs": "^0.3.60",
"solhint": "^3.3.4",
"ts-node": "^9.1.1",
"typescript": "^4.2.3"
},
"config": {
"solidity": {
"version": "0.6.11",
"settings": {
"outputSelection": {
"contracts/Elekton.sol": {
"Elekton": [
"devdoc"
]
}
}
}
},
"paths": {
"contracts": "./contracts",
"circuit": "./circuit",
"tests": "./test",
"cache": "./cache",
"build": {
"snark": "./build/snark",
"contracts": "./build/contracts"
}
},
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}