forked from yearn/yearn-lens
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
26 lines (26 loc) · 822 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
{
"name": "yearn-lens",
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"husky": "^4.3.0",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"pretty-quick": "^3.1.3"
},
"scripts": {
"lint": "pretty-quick --pattern '**/*.*(sol|json)' --verbose",
"lint:check": "prettier --write **/*.sol **/*.json",
"lint:fix": "pretty-quick --pattern '**/*.*(sol|json)' --staged --verbose",
"lint:tests-check": "black --check --include \"(tests|scripts)\" .",
"lint:tests": "black --include \"(tests|scripts)\" .",
"test": "brownie test",
"coverage": "brownie test --coverage"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint:fix",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}