Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hanai/fis-parser-es6-babel
A parser plugin for fis to turn ES6+ code into ES5 friendly code with babel.
https://github.com/hanai/fis-parser-es6-babel
Last synced: 12 days ago
JSON representation
A parser plugin for fis to turn ES6+ code into ES5 friendly code with babel.
- Host: GitHub
- URL: https://github.com/hanai/fis-parser-es6-babel
- Owner: hanai
- License: mit
- Created: 2015-04-18T11:28:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-28T06:30:03.000Z (almost 9 years ago)
- Last Synced: 2024-10-04T11:05:57.315Z (about 2 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 11
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fis-parser-es6-babel
[![NPM version][npm-image]][npm-url]
[![Dependency Status][david-image]][david-url]
[![License][license-image]][license-url]A parser plugin for fis to turn ES6+ code into ES5 friendly code with babel.
## Usage
``` shell
$ npm install -g fis
$ npm install -g fis-parser-es6-babel
```fis-conf.js
fis
``` js
fis.config.set('project.fileType.text', 'es6');
fis.config.set('modules.parser.es6', 'es6-babel');
fis.config.set('roadmap.ext.es6', 'js');
```fis3
``` js
fis.set('project.fileType.text', 'es6');
fis.match('*.es6', {
rExt: '.js',
parser: fis.plugin('es6-babel', {})
});
```
## License[MIT](./LICENSE)
[npm-image]: https://img.shields.io/npm/v/fis-parser-es6-babel.svg?style=flat-square
[npm-url]: https://npmjs.org/package/fis-parser-es6-babel
[david-image]: http://img.shields.io/david/hanai/fis-parser-es6-babel.svg?style=flat-square
[david-url]: https://david-dm.org/hanai/fis-parser-es6-babel
[license-image]: http://img.shields.io/npm/l/fis-parser-es6-babel.svg?style=flat-square
[license-url]: ./LICENSE