build: bump node.js dependencies

chore: simplify scripts in "package.json"
This commit is contained in:
Paul Razvan Berg
2023-07-07 11:53:44 +03:00
parent 1baddd764a
commit 6b29ac783d
2 changed files with 44 additions and 36 deletions

View File

@@ -7,8 +7,8 @@
"url": "https://github.com/PaulRBerg"
},
"devDependencies": {
"prettier": "^2.8.7",
"solhint-community": "^3.5.0"
"prettier": "^3.0.0",
"solhint-community": "^3.5.2"
},
"keywords": [
"blockchain",
@@ -23,8 +23,8 @@
"scripts": {
"clean": "rm -rf cache out",
"lint": "pnpm lint:sol && pnpm prettier:check",
"lint:sol": "forge fmt --check && pnpm solhint \"{script,src,test}/**/*.sol\"",
"prettier:check": "prettier --check \"**/*.{json,md,yml}\"",
"prettier:write": "prettier --write \"**/*.{json,md,yml}\""
"lint:sol": "forge fmt --check && pnpm solhint {script,src,test}/**/*.sol",
"prettier:check": "prettier --check **/*.{json,md,yml} --ignore-path=.prettierignore",
"prettier:write": "prettier --write **/*.{json,md,yml} --ignore-path=.prettierignore"
}
}