Brian Ng
cd0c019b24
Add transform-duplicate-keys mapping ( #192 )
2017-03-06 14:55:34 -06:00
Artem Yavorsky
6a2b6fc0e0
Add uglify as a target ( #178 )
2017-03-03 15:36:54 -06:00
Daniel Tschinder
09c84a379f
Fix tests
2017-03-02 22:24:46 +01:00
Brian Ng
93b8b0735b
Add electron version exception test
2017-02-28 11:38:27 -06:00
Brian Ng
1092dde11c
Add tests for debug output ( #156 )
2017-02-24 08:27:43 -05:00
Kilian Valkhof
4cefa5bcc0
Use external Electron to Chromium library ( #144 )
...
* Replace manual electron-to-chromium list and function with external library
* test fixtures for electron: Switch to electron 1.4, with known chrome version and update expected output
* update tests: electron 1.0 used chrome 49, not 50
* import only the relevant function from electron-to-chromium
* electron fixtures: Use number instead of string
* If both chrome and electron are defined, choose the lower version to preserve
* Add to test cases to verify correct handling of chrome number
2017-01-19 17:41:02 -05:00
Brian Ng
69870774e7
Fix few typos
2017-01-18 19:12:13 -06:00
Eric Baer
05353d5392
Extract option normalization into independant file
2017-01-18 09:01:06 -08:00
Kai Cataldo
ad5698ed19
devDeps: eslint-config-babel v5.0.0 ( #139 )
2017-01-15 22:34:53 -05:00
Roman Yakobnyuk
e56c318eed
remove unnecessary extension ( #131 )
2017-01-09 17:47:31 -05:00
Marco Massarotto
1815ffab14
Explicitly resolve lowest browser version ( #121 )
...
stop relying on browserlist returning a list sorted by browser version
fix #119
2017-01-06 17:18:43 -05:00
Henry Zhu
dc46adf519
test actual requires from useBuiltIns ( #95 )
...
* test actual requires from useBuiltIns
* only run on npm 3 for now
2017-01-05 10:21:56 -05:00
Brian Ng
76e12a3cae
Show error if target version is not a number ( #107 )
2017-01-02 23:55:32 -05:00
Henry Zhu
c6afaa74d4
fix include/exclude for built-ins ( #102 )
2016-12-16 17:26:15 -05:00
Henry Zhu
45370e3553
add exclude option, rename whitelist to include ( #89 )
2016-12-13 16:16:54 -05:00
Eric Baer
e379681b58
Update pathnames to aviod uppercase + consistent with other babel projects
2016-12-12 08:59:52 -05:00
Eric Baer
a9d99fd135
Update eslint config to align with other babel projects ( #79 )
2016-12-12 00:33:18 -05:00
Brian Ng
3b60dc5444
Fix issue with Object.getOwnPropertySymbols ( #71 )
2016-12-10 11:33:22 -05:00
Henry Zhu
44c40cf7ab
fix regenerator import ( #68 )
2016-12-10 10:11:15 -05:00
Henry Zhu
64ed1ba167
add tests for electron option
...
Closes gh-55
2016-12-09 14:42:26 -05:00
Henry Zhu
08cd975eb4
always include web polyfills for now
2016-12-09 11:23:46 -05:00
Henry Zhu
d2976bed13
remove console.log, fix tests
2016-12-09 11:23:46 -05:00
Henry Zhu
541ebb5e5f
also import regenerator when the transform is required
2016-12-09 11:23:46 -05:00
Henry Zhu
8e2aa82991
also transform 'core-js'
2016-12-09 11:23:46 -05:00
Henry Zhu
5d32ca6bb3
prevent duplicate imports
2016-12-09 11:23:46 -05:00
Henry Zhu
69e9138637
extra tests
2016-12-09 11:23:46 -05:00
Henry Zhu
771e5d2cd6
account for multiple features ( #62 )
2016-12-09 11:23:46 -05:00
Henry Zhu
bd1ed28242
separate years, add es2016, es2017
2016-12-09 11:23:46 -05:00
Henry Zhu
d06270498b
add some tests
2016-12-02 17:58:31 -05:00
Henry Zhu
6c58d93602
setup the babel plugin to transform the babel-polyfill calls + pass the data option to the plugin from the preset
2016-12-02 13:04:21 -05:00
Henry Zhu
d40c684723
hardcode a current node version option ( #35 )
2016-11-02 16:17:42 -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
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
dcb9e9dd66
Add fixture helper for tests ( #28 )
2016-11-01 17:46:49 -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
Henry Zhu
4903395cbf
remove integer error for node, add debug option ( #18 )
2016-10-06 23:55:37 -04:00
Henry Zhu
a665d4a5ae
update node data, fix version issues ( #13 )
2016-10-06 22:33:03 -04:00
Henry Zhu
2c97212fd4
modules/loose opts from es2015 preset, add travis ( #6 )
...
* modules/loose opts from es2015 preset, add travis
* Update .travis.yml
* fix plugin function [skip ci]
2016-09-05 23:39:50 -04:00
Eric Baer
78c21a282a
Implement very basic (but working) functionality ( #3 )
...
* Implement very basic (but working) functionality
* Correct PR based on feedback
2016-09-01 11:55:50 -04:00