chore: simplify scripts in "package.json"
This commit is contained in:
parent
be98f12067
commit
303db78fe2
|
@ -30,11 +30,9 @@
|
|||
"packageManager": "yarn@3.2.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"lint": "yarn solhint && yarn prettier:check",
|
||||
"lint:check": "yarn prettier:check && yarn solhint:check",
|
||||
"lint": "solhint --config \"./.solhint.json\" \"{src,test}/**/*.sol\"",
|
||||
"postinstall": "husky install",
|
||||
"prettier": "prettier --config \"./.prettierrc.yml\" --write \"**/*.{json,md,sol,yml}\"",
|
||||
"prettier:check": "prettier --config \"./.prettierrc.yml\" --check \"**/*.{json,md,sol,yml}\"",
|
||||
"solhint": "solhint --config \"./.solhint.json\" \"{src,test}/**/*.sol\""
|
||||
"prettier:check": "prettier --config \"./.prettierrc.yml\" --check \"**/*.{json,md,sol,yml}\""
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue