UNPKG

hardhat

Version:

Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.

25 lines (20 loc) 587 B
import type { HardhatPlugin } from "../../../types/plugins.js"; import { globalFlag } from "../../core/config.js"; import "./type-extensions.js"; const hardhatPlugin: HardhatPlugin = { id: "builtin:coverage", tasks: [], globalOptions: [ globalFlag({ name: "coverage", description: "Enables code coverage", }), ], hookHandlers: { clean: () => import("./hook-handlers/clean.js"), hre: () => import("./hook-handlers/hre.js"), solidity: () => import("./hook-handlers/solidity.js"), }, npmPackage: "hardhat", }; export default hardhatPlugin;