-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
17 lines (17 loc) · 974 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"name": "size-v2-solidity",
"description": "Size v2",
"scripts": {
"solhint": "solhint \"src/**/*.sol\" --max-warnings 0",
"typechain": "npx typechain --target=ethers-v6",
"get-libraries": "(j=$((0x10)); find src/libraries test/helpers/libraries -type f | sed 's/.*\\///' | sed 's/.sol//' | while read i; do echo -n \"($i,$(printf \"0x%x\" $j))\\n\";j=$((j+1));done) | paste -sd, -",
"echidna-property": "echidna . --contract CryticTester --config echidna.yaml --test-mode property",
"echidna-assertion": "echidna . --contract CryticTester --config echidna.yaml --test-mode assertion",
"echidna-coverage": "open $(find echidna -name '*.html' | sort | tail -1)",
"coverage": "forge coverage --report lcov && lcov --remove lcov.info -o lcov.info 'test/*' 'script/*' && genhtml lcov.info -o report --branch-coverage && open report/index.html"
},
"devDependencies": {
"@typechain/ethers-v5": "^11.1.2",
"solhint": "^4.0.0"
}
}