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
No known key found for this signature in database
GPG Key ID: BCC366159BD63828
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}\"",

View File

@ -266,6 +266,7 @@ __metadata:
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
languageName: unknown
@ -2803,6 +2804,17 @@ __metadata:
languageName: node
linkType: hard
"rimraf@npm:^3.0.2":
version: 3.0.2
resolution: "rimraf@npm:3.0.2"
dependencies:
glob: ^7.1.3
bin:
rimraf: bin.js
checksum: 87f4164e396f0171b0a3386cc1877a817f572148ee13a7e113b238e48e8a9f2f31d009a92ec38a591ff1567d9662c6b67fd8818a2dbbaed74bc26a87a2a4a9a0
languageName: node
linkType: hard
"run-async@npm:^2.2.0":
version: 2.4.1
resolution: "run-async@npm:2.4.1"