UNPKG

@coat/cli

Version:

TODO: See #3

26 lines (25 loc) 729 B
/** * Runs the provided script patterns in parallel * from the specified working directory. * * Script patterns refer to script names in the working directory's * package.json file. * * Patterns can include wildcards, example: * package.json * { * "scripts": { * "build:tsc": "tsc", * "build:babel": "babel" * } * } * Using "build:*" as a script pattern will run both the * build:tsc and build:babel scripts in parallel. * * @param options.cwd The working directory of the current project * @param options.scriptPatterns The script patterns that will be evaluated and run */ export declare function run({ cwd, scriptPatterns, }: { cwd: string; scriptPatterns: string[]; }): Promise<void>;