Home Reference Source Repository

References

Function Summary

Static Public Function Summary
public

Generates a command that uses concurrently to run scripts concurrently.

public

copy(args: string): string

Gets a script that uses the cpy-cli binary.

public

Gets a script that uses the cross-env binary.

public

ifNotWindows(script: string, altScript: string): string

Simply calls ifWindows(altScript, script)

public

ifWindows(script: string, altScript: string): string

Takes two scripts and returns the first if the current environment is windows, and the second if the current environment is not windows

public

mkdirp(args: string): string

Gets a script that uses the mkdirp binary.

public

open(args: string): string

Gets a script that uses the opn-cli binary.

public

rimraf(args: string): string

Gets a script that uses the rimraf binary.

public

EXPERIMENTAL: THIS DOES NOT CURRENTLY WORK FOR ALL TERMINALS Takes a command and returns a version that should run in another tab/window of your terminal.

public

series(scripts: ...string): string

Accepts any number of scripts, filters out any falsy ones and joins them with ' && '

Typedef Summary

Static Public Typedef Summary
public

A concurrent script object

public

An object of concurrent script objects