hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
21 lines • 730 B
JavaScript
import { task } from "../../core/config.js";
const hardhatPlugin = {
id: "builtin:run",
tasks: [
task("run", "Run a user-defined script after compiling the project")
.addPositionalArgument({
name: "script",
description: "A js or ts file to be run within hardhat's environment",
})
.addFlag({
name: "noCompile",
description: "Do not compile the project before running the script",
})
.setAction(async () => import("./task-action.js"))
.build(),
],
dependencies: () => [import("../solidity/index.js")],
npmPackage: "hardhat",
};
export default hardhatPlugin;
//# sourceMappingURL=index.js.map