turbo-gulp
Version:
Gulp tasks to boost high-quality projects.
19 lines (18 loc) • 707 B
TypeScript
import { AbsPosixPath } from "../types";
import { SpawnOptions, SpawnResult } from "./node-async";
export declare function execNyc(cmd: string | null, args?: string[], options?: SpawnOptions): Promise<SpawnResult>;
export declare type NycReporter = "text" | "text-lcov" | "lcovonly" | "html";
export interface ReportOptions {
tempDirectory: AbsPosixPath;
}
export declare function report(options: ReportOptions): Promise<void>;
export interface RunOptions {
cwd: AbsPosixPath;
command: string[];
reporters: NycReporter[];
reportDir: AbsPosixPath;
tempDir: AbsPosixPath;
include?: string[];
colors?: boolean;
}
export declare function run(options: RunOptions): Promise<void>;