Update test commands & add forge-cache and out to .gitignore

This commit is contained in:
EmperorOrokuSaki 2022-12-08 16:22:17 +03:30
parent b426d718f6
commit c74a270579
2 changed files with 8 additions and 3 deletions

4
.gitignore vendored
View File

@ -8,3 +8,7 @@ artifacts
# NPM
package-lock.json
artifacts
# Foundry
out
forge-cache

View File

@ -4,12 +4,13 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "hardhat test",
"test": "hardhat test && forge test --via-ir",
"test:foundry": "forge test --via-ir",
"test:hardhat": "hardhat test",
"format": "prettier --write \"./**/*.{js,ts,sol}\"",
"node:hh": "hardhat node --tags local",
"node:hardhat": "hardhat node --tags local",
"deploy:local": "hardhat deploy --tags local",
"deploy:mumbai": "hardhat deploy --tags mumbai",
"interact": "npx hardhat run deploy/interact.js --network hardhat",
"compile": "hardhat compile"
},
"repository": {