Skip to content

Commit 69027fa

Browse files
committed
added scripts
1 parent 2d5e38f commit 69027fa

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@
2525
"solarray": "github:evmcheb/solarray#a547630",
2626
"solhint": "^5.1"
2727
},
28+
"scripts": {
29+
"prepack": "bun install --frozen-lockfile && bash ./scripts/bash/prepare-artifacts.sh",
30+
"prepare": "husky",
31+
"lint": "bun run lint:sol && bun run prettier:check",
32+
"lint:fix": "bun run lint:sol:fix && forge fmt",
33+
"lint:sol": "forge fmt --check && bun solhint \"{benchmark,script,src,tests}/**/*.sol\"",
34+
"lint:sol:fix": "bun solhint \"{benchmark,script,src,tests}/**/*.sol\" --fix --noPrompt",
35+
"prettier:check": "prettier --check \"**/*.{json,md,svg,yml}\"",
36+
"prettier:write": "prettier --write \"**/*.{json,md,svg,yml}\""
37+
},
2838
"files": [
2939
"artifacts",
3040
"src",

0 commit comments

Comments
 (0)