UNPKG

hardhat

Version:

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

17 lines (13 loc) 495 B
#!/usr/bin/env node import semver from "semver"; import chalk from "chalk"; import { SUPPORTED_NODE_VERSIONS } from "./constants"; if (!semver.satisfies(process.version, SUPPORTED_NODE_VERSIONS.join(" || "))) { console.warn( chalk.yellow.bold(`WARNING:`), `You are currently using Node.js ${process.version}, which is not supported by Hardhat. This can lead to unexpected behavior. See https://hardhat.org/nodejs-versions` ); console.log(); console.log(); } require("./cli");