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