Skip to content

Commit

Permalink
chore: Adjustments package.json and hardhat config
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJurassicPunk committed Mar 29, 2022
1 parent 3a0cc58 commit 5f65e59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ const config: HardhatUserConfig = {
pretty: false,
except: ["test*", "@openzeppelin*", "uniswap*"],
},
gasReporter: {
enabled: !!process.env.REPORT_GAS,
excludeContracts: ["test*", "@openzeppelin*", "uniswap*"],
},
};

export default config;
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"lint": "eslint '**/*.{js,jsx,ts,tsx}'",
"prepare": "husky install",
"test": "hardhat test",
"test:gas": "REPORT_GAS=true hardhat test",
"test:forge": "forge test",
"test:coverage": "hardhat coverage && hardhat compile --force"
},
Expand Down

0 comments on commit 5f65e59

Please sign in to comment.