@coat/cli
Version:
TODO: See #3
10 lines (9 loc) • 377 B
TypeScript
/**
* Runs a single npm script from a package.json file
* with the provided arguments
*
* @param cwd The working directory where the script should be run from
* @param script The name of npm script
* @param args Optional arguments that will be passed to the script
*/
export declare function runSingleScript(cwd: string, script: string, args?: string[]): Promise<void>;