Skip to content

Commit

Permalink
chore: add husky hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
HrikB committed Feb 18, 2024
1 parent 0a8a3f5 commit f432e52
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
forge test --ffi
Binary file modified bun.lockb
Binary file not shown.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"simulate": "rm -f report.csv; REPORT=1 forge test --mt 'invariantFoundry_report'",
"YieldOracle:deployment:configure": "forge script script/01_DeployYieldOracle.s.sol -s 'configureDeployment()' --ffi",
"YieldOracle:deployment:deploy:testnet": "forge script script/01_DeployYieldOracle.s.sol --rpc-url $GOERLI_RPC_URL --broadcast --slow",
"YieldOracle:deployment:deploy:mainnet": "forge script script/01_DeployYieldOracle.s.sol --rpc-url $MAINNET_RPC_URL --broadcast --slow --verify"
"YieldOracle:deployment:deploy:mainnet": "forge script script/01_DeployYieldOracle.s.sol --rpc-url $MAINNET_RPC_URL --broadcast --slow --verify",
"prepare": "husky"
},
"dependencies": {
"date-fns": "^2.30.0",
Expand All @@ -23,7 +24,8 @@
"web3": "^4.1.2"
},
"devDependencies": {
"bun-types": "latest"
"bun-types": "latest",
"husky": "^9.0.11"
},
"peerDependencies": {
"typescript": "^5.0.0"
Expand Down

0 comments on commit f432e52

Please sign in to comment.