@tapjs/run
Version:
Command-line interface for the node-tap runner
12 lines • 593 B
TypeScript
/**
* some utilities for interfacing with npm in the `tap plugin` command
*/
import { LoadedConfig } from '@tapjs/config';
export declare const npmFindCwd: (projectRoot: string) => Promise<string>;
/**
* Run an npm command in the background, returning the result
*/
export declare const npmBg: (args: string[], npmCwd: string) => import("child_process").SpawnSyncReturns<string>;
export declare const install: (pkgs: string[], config: LoadedConfig) => Promise<void>;
export declare const uninstall: (pkgs: string[], config: LoadedConfig) => Promise<void>;
//# sourceMappingURL=npm.d.ts.map