UNPKG

@reactant/helpers

Version:
15 lines (14 loc) 646 B
import { Context, CreateConfigOptions, Logger } from '@reactant/types'; import { ExecaReturnValue, Options as ExecaOptions } from 'execa'; import Helpers from '.'; export default class Api { context: Context; logger: Logger; helpers: Helpers; constructor(context: Context, logger: Logger); where(program: string): Promise<string | null>; prepareLocal(): Promise<void>; spawn(bin: string | string[], args?: string[], options?: ExecaOptions): Promise<ExecaReturnValue<string>>; createWebpackConfig(options?: CreateConfigOptions): Promise<void>; createBabelConfig(options?: CreateConfigOptions): Promise<void>; }