hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
22 lines (17 loc) • 512 B
text/typescript
import type { HardhatPlugin } from "../../../types/plugins.js";
import { task } from "../../core/config.js";
import "./type-extensions.js";
const hardhatPlugin: HardhatPlugin = {
id: "builtin:clean",
tasks: [
task("clean", "Clear the cache and delete all artifacts")
.addFlag({
name: "global",
description: "Clear the global cache",
})
.setAction(async () => import("./task-action.js"))
.build(),
],
npmPackage: "hardhat",
};
export default hardhatPlugin;