Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mayank1791989/babel-preset-playlyfe
Babel preset for Playlyfe
https://github.com/mayank1791989/babel-preset-playlyfe
Last synced: 2 days ago
JSON representation
Babel preset for Playlyfe
- Host: GitHub
- URL: https://github.com/mayank1791989/babel-preset-playlyfe
- Owner: Mayank1791989
- Created: 2016-09-28T19:48:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-08-02T17:13:18.000Z (over 5 years ago)
- Last Synced: 2024-04-14T04:11:36.177Z (9 months ago)
- Language: JavaScript
- Size: 837 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Travis](https://img.shields.io/travis/Mayank1791989/babel-preset-playlyfe.svg?style=flat-square)](https://travis-ci.org/Mayank1791989/babel-preset-playlyfe)
[![Codecov](https://img.shields.io/codecov/c/github/Mayank1791989/babel-preset-playlyfe.svg?style=flat-square)](https://codecov.io/gh/Mayank1791989/babel-preset-playlyfe)
[![npm](https://img.shields.io/npm/v/babel-preset-playlyfe.svg?style=flat-square)](https://www.npmjs.com/package/babel-preset-playlyfe)
[![npm](https://img.shields.io/npm/dt/babel-preset-playlyfe.svg?style=flat-square)](https://www.npmjs.com/package/babel-preset-playlyfe)# babel-preset-playlyfe
> Babel preset for Javascript(es2015, es2016) React projects.
## Install
```sh
$ npm install --save-dev babel-preset-playlyfe
$ yarn add --dev babel-preset-playlyfe
```## Usage
```javascript
// .babelrc
{
"presets": ["playlyfe", options]
}
```## Options
* `flow` - bool (default true) Enable flow support.
* `modules` - 'amd' | 'umd' | 'systemjs' | 'commonjs' | false (default 'commonjs').
* `targets` - same as babel-preset-env [targets option](https://github.com/babel/babel-preset-env#options)
* `useBuiltIns` - (default: true) same as babel-preset-env [useBuiltIns option](https://github.com/babel/babel-preset-env#options)
* `asyncAwait` - bool (default false) Enable async-await support (Note: need [regeneratorRuntime](https://babeljs.io/docs/plugins/transform-regenerator)).* `react` - bool (default true) Enable react support.
* `reactIntl` - bool (default true) Enable react-intl support.* `babelRuntime` - bool (default true) Enable [babel-plugin-transform-runtime plugin](https://babeljs.io/docs/plugins/transform-runtime).
* `development` - bool (default false) to enable dev mode