-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
30 lines (30 loc) · 1.59 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
{
"name": "modular-account",
"version": "v1.0.1",
"dependencies": {
"account-abstraction": "github:eth-infinitism/account-abstraction#v0.7.0",
"@erc6900/reference-implementation": "github:erc6900/reference-implementation#v0.8.0-rc.5",
"solady": "github:Vectorized/solady#v0.0.237"
},
"devDependencies": {
"pnpm": "^8.7.5",
"solhint": "^3.6.2"
},
"scripts": {
"clean": "forge clean && FOUNDRY_PROFILE=optimized-build forge clean",
"coverage": "forge coverage --no-match-coverage '(test)' --nmt '(testFuzz|invariant)'",
"fmt": "forge fmt && FOUNDRY_PROFILE=gas forge fmt",
"fmt:check": "forge fmt --check && FOUNDRY_PROFILE=gas forge fmt --check",
"gas": "FOUNDRY_PROFILE=gas forge test -vv",
"gas:check": "FOUNDRY_PROFILE=gas FORGE_SNAPSHOT_CHECK=true forge test -vv",
"lcov": "forge coverage --no-match-coverage '(test)' --nmt '(testFuzz|invariant)' --report lcov",
"lint": "pnpm lint:src && pnpm lint:test && pnpm lint:gas && pnpm lint:script",
"lint:src": "solhint --max-warnings 0 -c ./config/solhint-src.json './src/**/*.sol'",
"lint:test": "solhint --max-warnings 0 -c ./config/solhint-test.json './test/**/*.sol'",
"lint:gas": "solhint --max-warnings 0 -c ./config/solhint-gas.json './gas/**/*.sol'",
"lint:script": "solhint --max-warnings 0 -c ./config/solhint-script.json './script/**/*.sol'",
"prep": "pnpm fmt && forge b --deny-warnings && pnpm lint && pnpm test && pnpm gas",
"sizes": "FOUNDRY_PROFILE=optimized-build forge b --sizes | grep '^|' | grep -v -e '| 17 |' -e 'Lib'",
"test": "forge test"
}
}