Go to repository

Function serially

Returns the string for the bash command to run a multiples set of commands one after the other, that is, the command to run serially a set of commands. This involves joining all commands with '&&'.

series('eslint', 'jest', 'webpack --env.production')
// returns 'eslint && jest && webpack --env.production'

Parameters

  • Rest
    ...scripts: string[]

    Any number of commands as strings.

Returns string

The bash command string.