1 | ababel-es2015
|
2 | ==========
|
3 |
|
4 |
|
5 | This file is generated by ape-tmpl. Do not update manually.
|
6 | --->
|
7 |
|
8 |
|
9 | <a name="badges"></a>
|
10 |
|
11 | [![Build Status][bd_travis_shield_url]][bd_travis_url]
|
12 | [![npm Version][bd_npm_shield_url]][bd_npm_url]
|
13 | [![JS Standard][bd_standard_shield_url]][bd_standard_url]
|
14 |
|
15 | [bd_repo_url]: https://github.com/a-labo/ababel-es2015
|
16 | [bd_travis_url]: http://travis-ci.org/a-labo/ababel-es2015
|
17 | [bd_travis_shield_url]: http://img.shields.io/travis/a-labo/ababel-es2015.svg?style=flat
|
18 | [bd_travis_com_url]: http://travis-ci.com/a-labo/ababel-es2015
|
19 | [bd_travis_com_shield_url]: https://api.travis-ci.com/a-labo/ababel-es2015.svg?token=
|
20 | [bd_license_url]: https://github.com/a-labo/ababel-es2015/blob/master/LICENSE
|
21 | [bd_codeclimate_url]: http://codeclimate.com/github/a-labo/ababel-es2015
|
22 | [bd_codeclimate_shield_url]: http://img.shields.io/codeclimate/github/a-labo/ababel-es2015.svg?style=flat
|
23 | [bd_codeclimate_coverage_shield_url]: http://img.shields.io/codeclimate/coverage/github/a-labo/ababel-es2015.svg?style=flat
|
24 | [bd_gemnasium_url]: https://gemnasium.com/a-labo/ababel-es2015
|
25 | [bd_gemnasium_shield_url]: https://gemnasium.com/a-labo/ababel-es2015.svg
|
26 | [bd_npm_url]: http://www.npmjs.org/package/ababel-es2015
|
27 | [bd_npm_shield_url]: http://img.shields.io/npm/v/ababel-es2015.svg?style=flat
|
28 | [bd_standard_url]: http://standardjs.com/
|
29 | [bd_standard_shield_url]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 | <a name="description"></a>
|
36 |
|
37 | ababel with es2015 flavor
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 | <a name="overview"></a>
|
44 |
|
45 |
|
46 |
|
47 |
|
48 |
|
49 |
|
50 |
|
51 | <a name="sections"></a>
|
52 |
|
53 |
|
54 |
|
55 | <a name="section-doc-guides-01-installation-md"></a>
|
56 |
|
57 | Installation
|
58 | -----
|
59 |
|
60 | ```bash
|
61 | $ npm install ababel-es2015 --save
|
62 | ```
|
63 |
|
64 |
|
65 |
|
66 |
|
67 |
|
68 |
|
69 | <a name="section-doc-guides-02-usage-md"></a>
|
70 |
|
71 | Usage
|
72 | ---------
|
73 |
|
74 | ```javascript
|
75 | 'use strict'
|
76 |
|
77 | const ababelEs2015 = require('ababel-es2015')
|
78 |
|
79 | const co = require('co')
|
80 |
|
81 | co(function * () {
|
82 | yield ababelEs2015('**/*.js', {
|
83 | cwd: 'src',
|
84 | out: 'dest',
|
85 | minified: true
|
86 | })
|
87 | }).catch((err) => console.error(err))
|
88 | ```
|
89 |
|
90 |
|
91 |
|
92 |
|
93 |
|
94 |
|
95 |
|
96 |
|
97 |
|
98 | <a name="license"></a>
|
99 |
|
100 | License
|
101 | -------
|
102 | This software is released under the [MIT License](https://github.com/a-labo/ababel-es2015/blob/master/LICENSE).
|
103 |
|
104 |
|
105 |
|
106 |
|
107 |
|
108 | <a name="links"></a>
|
109 |
|
110 | Links
|
111 | ------
|
112 |
|
113 | + [Babel][babel_url]
|
114 | + [ababel][ababel_url]
|
115 |
|
116 | [babel_url]: https://babeljs.io/
|
117 | [ababel_url]: https://github.com/a-labo/ababel#readme
|
118 |
|
119 |
|