heap-task-runner

1.0.0 • Public • Published

Heap

A simple, no-nonsense task runner for Node.js projects.

Installation

To install the Heap CLI, use NPM:

npm install heap-task-runner -g

Usage

Once you install Heap through NPM, the CLI can be used globally now:

heap --help

Configuration

Heap will only work properly if its configuration file is present in the directory, named .heaprc.json. This is a simple JSON structure:

{
    "scripts": {
        "main": [{
            "task": "log",
            "message": "Hello, world!"
        }]
    }
}

Each script is specified under scripts, with the key being the script name (--script option) and the value being an array of tasks. Note that if no script is specified, Heap will default to the main script.

Readme

Keywords

none

Package Sidebar

Install

npm i heap-task-runner

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

4.11 kB

Total Files

5

Last publish

Collaborators

  • haykam821