UNPKG

ultra-runner

Version:

Smart and beautiful script runner that hijacks any `npm run`, `yarn` and `npx` calls for ultra fast execution

55 lines (54 loc) 1.3 kB
export declare const HASH_FILE = ".ultra.cache.json"; export declare const defaults: { recursive: boolean; filter: string | undefined; color: boolean; pretty: boolean; raw: boolean; silent: boolean; dryRun: boolean; rebuild: boolean; list: boolean; info: boolean; topology: boolean; build: boolean; concurrency: number; debug: boolean; root: boolean; help: boolean; monitor: boolean; monitorInterval: number; serial: boolean; }; export declare type RunnerOptions = typeof defaults; declare type RunnerOptionDef = { type: "number" | "boolean" | "string"; description: string; hidden?: boolean; alias?: string; }; export declare const RunnerOptionDefs: Record<keyof RunnerOptions, RunnerOptionDef>; export declare function parse(argv?: string[]): { _: string[]; "--": string[]; recursive: boolean; filter: string | undefined; color: boolean; pretty: boolean; raw: boolean; silent: boolean; dryRun: boolean; rebuild: boolean; list: boolean; info: boolean; topology: boolean; build: boolean; concurrency: number; debug: boolean; root: boolean; help: boolean; monitor: boolean; monitorInterval: number; serial: boolean; }; export {};