lineman-babel

0.0.2 • Public • Published

lineman-babel

A plugin to make it easy to use ES6/ES2015 in conjunction with a Lineman app.

It adds a default configuration of Babel's grunt-babel task to your project.

Installation

$ npm install lineman-babel --save

Configuration

All you need to do is install lineman-babel and it'll start treating all your app's production & test ".js" files as ES6.

Interrogating configuration

At any time, you can ask lineman about your babel config by asking:

$ lineman config babel

And to see what files it matches, you can run

$ lineman config files | grep babel

Overriding configuration

In your application.js, you can override the babel task:

babel: {
  options: {
    sourceMap: true
  }
}

Package Sidebar

Install

npm i lineman-babel

Weekly Downloads

0

Version

0.0.2

License

none

Last publish

Collaborators

  • dustin.tinney
  • mike.testdouble
  • searls