babel-preset-doctolib
v3.0.2
Published
Specific babel preset for Doctolib projects.
Downloads
11
Readme
babel-preset-doctolib
Babel preset specific to Doctolib projects.
- All ES2015 rules in loose mode
- Runtime transformer
- Object rest spread
- Class properties
Install
$ npm install --save-dev babel-preset-doctolib
Usage
Via .babelrc
(Recommended)
.babelrc
{
"presets": ["doctolib"]
}
Via CLI
$ babel script.js --presets doctolib
Via Node API
require("babel-core").transform("code", {
presets: ["doctolib"]
});