-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
25 lines (25 loc) · 1.34 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
{
"name": "size-solidity",
"description": "Size",
"scripts": {
"solhint": "solhint \"src/**/*.sol\" --max-warnings 0",
"typechain": "npx typechain --target=ethers-v6 out/Size.sol/Size.json out/SizeFactory.sol/SizeFactory.json out/Errors.sol/Errors.json out/Events.sol/Events.json out/draft-IERC6093.sol/IERC20Errors.json",
"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 --no-match-coverage \"(script|test|deprecated)\" --report lcov && genhtml lcov.info -o report --branch-coverage && open report/index.html"
},
"devDependencies": {
"@typechain/ethers-v6": "^0.5.1",
"solhint": "^4.0.0"
},
"dependencies": {
"@ledgerhq/hw-app-eth": "^6.43.0",
"@ledgerhq/hw-transport-node-hid": "^6.29.5",
"@safe-global/api-kit": "^3.0.1",
"@safe-global/protocol-kit": "^6.0.1",
"@safe-global/types-kit": "^2.0.0",
"axios": "^1.8.3"
}
}