babel-preset-bonita

Babel preset for all Bonita plugins.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
babel-preset-bonita
1.0.26 years ago7 years agoMinified + gzip package size for babel-preset-bonita in KB

Readme

babel-preset-bonita
Babel preset for all Bonita plugins.

Install

$ npm install --save-dev babel-preset-bonita

Usage

Via .babelrc (Recommended)

.babelrc
{
  "presets": ["bonita"]
}

Via CLI

$ babel script.js --presets bonita 

Via Node API

require("babel-core").transform("code", {
  presets: ["bonita"]
});