Getting Started

Installation

Natron CLI

$ npm install natron-cli --global

Natron

$ npm install natron --save-dev

Defining Tasks

🚧

API Stability

The API of v0.2 is currently in beta and is not considered stable, so it may change in future revisions.

Create a Natronfile

File: natronfile.js

module.exports.default = function () {
  console.log("Place code for your default task here");
};

📘

Using Transpilers

Natron supports all kinds of languages that transpile to JavaScript, e.g. ES2015 or CoffeScript.
For more information see Using Transpilers.

Running Tasks

Run the default Task

$ natron default