chore: add "clean" script

build: add "rimraf" dev dep
This commit is contained in:
Paul Razvan Berg
2022-10-30 18:36:33 +02:00
parent 303db78fe2
commit ac363e567b
2 changed files with 14 additions and 0 deletions

View File

@@ -15,6 +15,7 @@
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "^1.0.0-dev.22",
"rimraf": "^3.0.2",
"solhint": "^3.3.7",
"solhint-plugin-prettier": "^0.0.5"
},
@@ -30,6 +31,7 @@
"packageManager": "yarn@3.2.1",
"private": true,
"scripts": {
"clean": "rimraf cache out",
"lint": "solhint --config \"./.solhint.json\" \"{src,test}/**/*.sol\"",
"postinstall": "husky install",
"prettier": "prettier --config \"./.prettierrc.yml\" --write \"**/*.{json,md,sol,yml}\"",