-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
36 lines (36 loc) · 1.22 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
{
"name": "sx-evm",
"description": "On-chain voting framework",
"repository": "snapshot-labs/sx-evm",
"author": "SnapshotLabs",
"license": "MIT",
"devDependencies": {
"husky": "^8.0.3",
"lint-staged": "^13.1.2",
"prettier": "^2.8.1",
"prettier-plugin-solidity": "^1.1.2",
"rimraf": "^3.0.2",
"solhint": "^3.4.0",
"solhint-plugin-prettier": "^0.0.5"
},
"scripts": {
"clean": "rimraf cache out",
"coverage": "forge coverage --report lcov",
"lint": "yarn lint:sol && yarn prettier:check",
"lint:sol": "solhint \"{src,test,script}/**/*.sol\"",
"prettier:check": "prettier --check \"**/*.{json,md,sol,yml}\"",
"prettier": "prettier --write \"**/*.{json,md,sol,yml}\"",
"format": "yarn prettier",
"test": "forge test --optimize -vv",
"deploy-modules": "forge script script/ModulesSetup.s.sol:ModulesSetup --rpc-url $GOERLI_RPC_URL --optimize --broadcast --verify -vvvv",
"deploy-space": "forge script script/SpaceSetup.s.sol:SpaceSetup --rpc-url $GOERLI_RPC_URL --optimize --broadcast --verify -vvvv",
"prepare": "husky install"
},
"lint-staged": {
"*.sol": [
"solhint",
"prettier --check"
],
"*.{json,md,yml}": "prettier --check"
}
}