60 Commits

Author SHA1 Message Date
Sergey Rubanov
9ca27436a9 Update data generation for latest compat-table. See https://github.com/kangax/compat-table/pull/960 (#44) 2016-11-14 17:42:44 -05:00
Henry Zhu
ac26f3cdfb Rename ios_saf in browserslist data to ios, ignore unknown browsers (#43)
* Rename ios_saf in browserslist data to ios, ignore unknown browsers

browserslist queries, especially ones with percentages, often bring in mobile browsers that _probably_ have the similar support level as desktop ones, but since there's no support for them in the data, including them here would just lead to all plugins being enabled always.

It's also easy to get crazy things like `op_mini` or `and_uc` in the results.

Browserslist also reports iOS Safari as `ios_saf`, while the data uses `ios`, so it needs to be renamed.

* Fix lint
2016-11-14 15:19:47 -05:00
Diogo Franco
d407ddc00c Fix lint 2016-11-11 01:43:21 +09:00
Diogo Franco
cbd827b9db Rename ios_saf in browserslist data to ios, ignore unknown browsers
browserslist queries, especially ones with percentages, often bring in mobile browsers that _probably_ have the similar support level as desktop ones, but since there's no support for them in the data, including them here would just lead to all plugins being enabled always.

It's also easy to get crazy things like `op_mini` or `and_uc` in the results.

Browserslist also reports iOS Safari as `ios_saf`, while the data uses `ios`, so it needs to be renamed.
2016-11-11 01:32:17 +09:00
Henry Zhu
f8a02a8a9f 0.0.7 2016-11-02 19:00:46 -04:00
Henry Zhu
4019d20945 fixes [skip ci] 2016-11-02 18:21:14 -04:00
Henry Zhu
d8b3447766 add changelog [skip ci] 2016-11-02 18:18:55 -04:00
Henry Zhu
bbeb311aa0 intro example [skip ci] 2016-11-02 18:09:15 -04:00
Henry Zhu
4b08a02b22 fix link [skip ci] 2016-11-02 18:07:53 -04:00
Henry Zhu
fd0821563e toc [skip ci] 2016-11-02 18:04:40 -04:00
Henry Zhu
f6a8d5eff2 doc fixes [skip ci] 2016-11-02 17:44:31 -04:00
Henry Zhu
a5daad4d32 Use compat-table equals option (#36)
* Use compat-table equals option

* fixes
2016-11-02 17:09:32 -04:00
Henry Zhu
d40c684723 hardcode a current node version option (#35) 2016-11-02 16:17:42 -04:00
Henry Zhu
9e97b59a2f fixes [skip ci] 2016-11-02 12:02:23 -04:00
Henry Zhu
414acf5fda Change default behavior to act the same as babel-preset-latest (#33)
* Do not throw on empty options, and default to latest preset

* fix lint
2016-11-02 11:57:26 -04:00
Henry Zhu
aa61aabb82 run lint separately (#32) 2016-11-02 11:09:51 -04:00
Henry Zhu
69e93fdb89 add 'whitelist' option (#31)
Ref https://github.com/babel/babel-preset-env/issues/16
2016-11-02 10:55:45 -04:00
Henry Zhu
85b5141cee add more aliases 2016-11-02 10:16:30 -04:00
Henry Zhu
8356dd18a2 Simple changelog [skip ci] 2016-11-01 19:53:57 -04:00
Henry Zhu
a47341930a Update plugin data: firefox 52 supports async/await! (#29) 2016-11-01 17:57:45 -04:00
Henry Zhu
dcb9e9dd66 Add fixture helper for tests (#28) 2016-11-01 17:46:49 -04:00
Henry Zhu
8af614022c readme on ie [skip ci] 2016-10-20 20:09:56 -04:00
Henry Zhu
520d69b125 contributing a new plugin [skip ci] 2016-10-15 10:12:23 -04:00
Henry Zhu
5ab09c9617 0.0.6 2016-10-12 22:21:26 -04:00
Henry Zhu
d84ea7f478 ignore scripts 2016-10-12 22:21:23 -04:00
Henry Zhu
3604ff24c3 0.0.5 2016-10-12 22:18:02 -04:00
Henry Zhu
63d4aecf89 android/ios 2016-10-12 22:14:13 -04:00
Henry Zhu
a082a73869 add ie 2016-10-12 22:09:53 -04:00
Henry Zhu
3df730b490 cleanup 2016-10-12 22:08:22 -04:00
Henry Zhu
208e0ed4a4 error when no targets option is passed 2016-10-12 22:07:14 -04:00
Henry Zhu
15f05c0e9e back to upstream, update data for new ff 2016-10-12 21:46:43 -04:00
Henry Zhu
da318cd209 fix browserslist docs [skip ci] 2016-10-12 21:41:27 -04:00
Artem Yavorsky
03f6cae25f Adds browsers property to use browserslist's queries (#19)
* Use browserslist to parse browsers from query.

* Update README.

* Use int values.

* Allow `isPluginRequired` use browserslist queries.

* Fix conflicts during different versions merging.

* Add tests for browserslist queries.

* Early return for getTargets.

* Update README: Describe `browsers` option.

* fix doc [skip ci]

* Move to dependencies [skip ci]

* Remove unused const.

* Use doublequotes for strings.
2016-10-12 21:37:50 -04:00
Paul Sanchez
4a3893a49e Add Caveat section to Readme.md (#24) [skip ci]
* Add Caveat section to Readme.md

The Caveat section details some known issues and workaround when targeting specific environments and using specific plugins.

* fixes [skip ci]
2016-10-12 13:33:38 -04:00
Henry Zhu
417a9c8dc3 mention process.versions.node [skip ci] 2016-10-11 09:10:11 -04:00
Henry Zhu
efbeb06c63 explain how it works [skip ci] 2016-10-08 11:20:03 -04:00
Henry Zhu
d11eace18c 0.0.4 2016-10-06 23:55:53 -04:00
Henry Zhu
4903395cbf remove integer error for node, add debug option (#18) 2016-10-06 23:55:37 -04:00
Henry Zhu
d11c2af388 0.0.3 2016-10-06 23:09:57 -04:00
Henry Zhu
d221bfba91 Temp rm experimental (#17)
* Temporarily remove experimental plugins since not used

* readme
2016-10-06 23:05:34 -04:00
Henry Zhu
a665d4a5ae update node data, fix version issues (#13) 2016-10-06 22:33:03 -04:00
Henry Zhu
46a4d9c22d readme [skip ci] 2016-10-06 18:11:18 -04:00
Henry Zhu
fb60b88601 update readme [skip ci] 2016-10-06 18:10:46 -04:00
Henry Zhu
6b9404ab52 fixes, run build script in node 0.10 with babel-node (#12)
* fixes, run build script in node 0.10 with babel-node

* try node
2016-10-06 17:08:13 -04:00
Ville Immonen
77a6d686ba Build the browser data from ES compatibility table (#8)
Use the data from https://github.com/kangax/compat-table to build the
browser data.

Each Babel plugin is mapped to a list of features in the compatibility
table (in `data/pluginFeatures.js`), and the minimum supporting
version looked up from the compatibility test data. The script builds
the final browser data file in `data/plugins.json`.
2016-10-06 14:23:01 -04:00
Rubens Mariuzzo
655ae2cada Syntax highlighting added (where missing) (#11) [skip ci] 2016-10-06 10:35:12 -04:00
Henry Zhu
1bf315d388 0.0.2 2016-09-30 17:41:26 -04:00
Henry Zhu
b4acfc31d9 Fix: export default 2016-09-30 17:41:22 -04:00
Henry Zhu
7f24f0966b 0.0.1 2016-09-13 17:06:51 -04:00
Henry Zhu
e2a4738020 add badges [skip ci] 2016-09-06 09:10:38 -04:00