forked from yearn/yearn-protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
24 lines (24 loc) · 829 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
{
"name": "yearn-protocol",
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"ethlint": "^1.2.5",
"husky": "^4.3.0",
"prettier": "^2.1.2",
"prettier-plugin-solidity": "^1.0.0-alpha.57",
"pretty-quick": "^3.0.2"
},
"scripts": {
"lint": "pretty-quick --pattern '**/*.*(sol|json|md)' --verbose",
"lint:check": "prettier --check **/*.sol **/*.json **/*.md",
"lint:fix": "pretty-quick --pattern '**/*.*(sol|json|md)' --verbose",
"lint:fix-staged": "pretty-quick --pattern '**/*.*(sol|json|md)' --staged --verbose"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint:fix-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}