UNPKG

@gobstones/gobstones-scripts

Version:

Scripts to abstract away build configuration of Gobstones Project's libraries and modules.

16 lines 960 B
import { ExecutableScriptDefinition, PackageManagerDefinition } from '../Config/config'; /** * Get the path to one of the bin scripts exported by a package. * If the bin name is different from the package name, it should * be given, if not given, the name of the binary is assumed to be the same * of that of the package. * * @param projectRootPath - The currently identified project's root path. * @param packageManagerDefinition - The definition to all available package managers. * @param packageName - The name of the package holding the binary. * @param binName - The name of the binary that it's intended to be retrieved. * * @returns The information for the binary execution, or undefined if no binary was found. */ export declare const getBin: (projectRootPath: string, packageManagerDefinition: PackageManagerDefinition, packageName: string, binName?: string) => ExecutableScriptDefinition | undefined; //# sourceMappingURL=getBin.d.ts.map