Skip to content

Commit

Permalink
Switch to babel-preset-env
Browse files Browse the repository at this point in the history
  • Loading branch information
lo1tuma committed Jul 9, 2017
1 parent 718845a commit 3843f4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"presets": [ "es2015" ],
"presets": [
[
"env", { "targets": { "node": "4" } }
]
],
"env": {
"coverage": {
"sourceMaps": "inline",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"devDependencies": {
"babel-cli": "6.24.1",
"babel-plugin-istanbul": "^4.1.3",
"babel-preset-es2015": "6.24.1",
"babel-preset-env": "^1.6.0",
"babel-register": "6.24.1",
"chai": "3.5.0",
"chai-as-promised": "7.1.1",
Expand Down

0 comments on commit 3843f4f

Please sign in to comment.