UNPKG

@toreda/build-tools

Version:

![Toreda](https://content.toreda.com/logo/toreda-logo.png)

24 lines (23 loc) 1.14 kB
/// <reference types="node" /> import { Clean } from '../clean'; import { Create } from '../create'; import { Linter } from '../linter'; import { LinterTarget } from '../linter/target'; import { Log } from '@toreda/log'; import { Run } from '../run'; import type { TranspileOptions } from '../transpile/options'; export declare class GulpSteps { private readonly run; private readonly create; private readonly clean; private readonly linter; private readonly log; constructor(run: Run, create: Create, linter: Linter, clean: Clean, log: Log); webpack(): Promise<NodeJS.ReadWriteStream>; copyContents(srcPattern: string, destPath: string): NodeJS.ReadWriteStream; createDir(targetPath: string | string[], overwrite?: boolean): Promise<NodeJS.ReadWriteStream>; cleanDir(targetPath: string | string[], force?: boolean): Promise<NodeJS.ReadWriteStream>; transpile(options: TranspileOptions): Promise<NodeJS.ReadWriteStream>; lint(tgt: LinterTarget): Promise<NodeJS.ReadWriteStream>; renderNunjucksHtml(templatePath: string, srcPattern: string, destPath: string): NodeJS.ReadWriteStream; }