UNPKG

@nomiclabs/buidler

Version:

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

21 lines 811 B
import { BuidlerContext } from "../context"; interface PackageJson { name: string; version: string; peerDependencies: { [name: string]: string; }; } /** * Validates a plugin dependencies and loads it. * @param pluginName - The plugin name * @param buidlerContext - The BuidlerContext * @param from - Where to resolve plugins and dependencies from. Only for * testing purposes. */ export declare function usePlugin(buidlerContext: BuidlerContext, pluginName: string, from?: string): void; export declare function loadPluginFile(absolutePluginFilePath: string): void; export declare function readPackageJson(packageName: string, from?: string): PackageJson | undefined; export declare function ensurePluginLoadedWithUsePlugin(): void; export {}; //# sourceMappingURL=plugins.d.ts.map