6.1.0 • Published 8 years ago

js-babel v6.1.0

Weekly downloads
16
License
MIT
Repository
github
Last release
8 years ago

js-babel

Consolidated Babel dependencies for core ES transpiling.

IMPORTANT

Do not reference this library unless you are happy staying in lock-step with the babel transpiler plugins used by my modules and other idiomatic decisions that I make.

Install

A single dependency will bring all the standard babel presents and plugins:

npm install --save-dev js-babel
{
  "devDependencies": {
    "js-babel": "^6.0.0"
  }
}

Configure

.babelrc

The references in this module's package.json allow for the following presents and plugins in your .babelrc file:

{
  "presets": ["es2015", "stage-0"],
  "plugins": ["transform-class-properties"]
}

Tests

npm install
npm test

License: MIT