Skip to content

runBuildSteps

Runs each named npm script the package defines, in order, skipping the ones it does not define.

Import:

import { runBuildSteps } from '@mnaoumov/typescript-dev-toolkit/library-build';

Signature:

function runBuildSteps(steps: readonly string[]): Promise<void>

Parameters:

Parameter Type Description
steps readonly string[] The npm script names.

Returns: Promise<void> — A Promise that resolves when every step has run.


Links to this page: