@coat/cli
Version:
TODO: See #3
17 lines (16 loc) • 532 B
TypeScript
import { CoatManifestStrict } from "../types/coat-manifest";
/**
* Merges all scripts of a coat project.
*
* Scripts are shell commands that are placed as npm scripts in
* the package.json file of a coat project.
*
* If multiple scripts share the same scriptName, they will
* be placed to run in parallel.
*
* @param scripts All scripts that should be merged
*/
export declare function mergeScripts(scripts: CoatManifestStrict["scripts"][]): {
scripts: Record<string, string>;
parallelScriptPrefixes: string[];
};