-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
29 lines (29 loc) · 980 Bytes
/
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
{
"name": "crytic-issue",
"version": "1.0.0",
"main": "index.js",
"author": "The Edison Lamp <[email protected]>",
"license": "MIT",
"scripts": {
"preinstall": "python -m venv .venv && . .venv/bin/activate",
"install": "pip install slither-analyzer && yes | pip uninstall crytic-compile && pip install -U https://github.com/crytic/crytic-compile/archive/refs/heads/dev-fix-foundry-options.zip",
"postinstall": "forge remappings > remappings.txt",
"prepare": "husky install",
"slither": "slither . --filter-paths \"lib|test\" --exclude naming-convention",
"solhint": "solhint 'solidity/src/**/*.sol' --fix",
"solhint:check": "solhint 'solidity/src/**/*.sol'",
"precommit": "lint-staged",
"test": "forge test",
"build": "forge build"
},
"devDependencies": {
"husky": "^8.0.2",
"lint-staged": "^13.1.0",
"solhint": "^3.3.7"
},
"lint-staged": {
"*.sol": [
"solhint --fix && forge fmt -"
]
}
}