forked from yearn/yearn-vaults
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
25 lines (25 loc) · 819 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
{
"name": "yearn-protocol",
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"husky": "^7.0.0",
"prettier": "^2.3.2",
"prettier-plugin-solidity": "^1.0.0-beta.13",
"pretty-quick": "^3.1.1",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "^0.0.5"
},
"scripts": {
"format": "prettier --write 'contracts/**/*.sol' --verbose",
"format:check": "prettier --check '**/*.*(sol|json)'",
"format:fix": "pretty-quick --pattern '**/*.*(sol|json)' --staged --verbose",
"hint": "solhint \"contracts/**/*.sol\""
},
"husky": {
"hooks": {
"pre-commit": "yarn lint:fix",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}