From e3a5a9989d915f96e8c514bdbba0033a74b85bc0 Mon Sep 17 00:00:00 2001 From: Klaus Hott Date: Fri, 18 Feb 2022 19:13:19 +1300 Subject: [PATCH] fix: cleaning up the types generated by the coverage --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bb71087..d3c626b 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "clean": "shx rm -rf ./artifacts ./cache ./coverage ./src/types ./coverage.json", "commit": "git-cz", "compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile", - "coverage": "yarn typechain && hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\"", + "coverage": "yarn typechain && hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\" && yarn clean && yarn typechain", "deploy": "hardhat deploy:Greeter", "lint": "yarn lint:sol && yarn lint:ts && yarn prettier:check", "lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",