forked from yearn/yearn-vaults
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
26 lines (26 loc) · 843 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-protocol",
"version": "0.0.0",
"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"
}
}
}