Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

runtask

firstandthird56MIT1.0.0

Very simple task runner

tasks, runner

readme

runtask Build Status Coverage Status

runtask is a lightweight, easy-to-use, highly flexible task-running library.

A 'task' is assigned a name and can be run by calling its name. It can be either an individual JS function or any object that defines a function named 'execute'. But a 'task' can also be a list of other tasks, and each of those tasks in turn can itself be a list of individual tasks. Tasks in the top-level list will execute sequentially, tasks in the lists below the top-level are executed in parallel.

See /test/runtask.test.js for usage and examples.