chore: simplify scripts in "package.json"

This commit is contained in:
Paul Razvan Berg 2022-10-30 18:34:34 +02:00
parent be98f12067
commit 303db78fe2
No known key found for this signature in database
GPG Key ID: BCC366159BD63828
1 changed files with 2 additions and 4 deletions

View File

@ -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\""
} }
} }