diff --git a/.gitignore b/.gitignore index 4e43bd1..43e5862 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,7 @@ deployments/localhost # NPM package-lock.json + +# Foundry +out +forge-cache diff --git a/package.json b/package.json index 855f296..4efddd7 100644 --- a/package.json +++ b/package.json @@ -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": {