Skip to content

Commit

Permalink
Bump babel, configure to target Node > 6 and remove babel-polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
guigrpa committed Aug 11, 2019
1 parent f308a77 commit 1efb939
Show file tree
Hide file tree
Showing 5 changed files with 392 additions and 295 deletions.
7 changes: 3 additions & 4 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"presets": [
["@babel/preset-env", { "targets": { "node": "current" } }],
"@babel/preset-flow",
"@babel/preset-react"
],
["@babel/preset-env", { "targets": { "node": "6" } }],
"@babel/preset-flow"
]
}
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: node_js
node_js:
- "stable"
- "8"
- "6"
- 'stable'
- '8'
- '6'
before_script:
- export TZ=Europe/Madrid
script: npm run travis
Expand Down
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
},
"homepage": "https://github.com/guigrpa/oao#readme",
"dependencies": {
"@babel/polyfill": "7.2.5",
"commander": "2.19.0",
"execa": "0.6.3",
"globby": "6.1.0",
Expand All @@ -58,11 +57,10 @@
"timm": "^1.6.2"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.3.3",
"@babel/preset-env": "7.3.1",
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-flow": "7.0.0",
"@babel/preset-react": "7.0.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.0.1",
"babel-jest": "^24.1.0",
Expand Down
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

/* eslint-disable max-len, global-require, import/no-dynamic-require, no-console */

import '@babel/polyfill';
import path from 'path';
import { addDefaults, merge } from 'timm';
import program from 'commander';
Expand Down
Loading

0 comments on commit 1efb939

Please sign in to comment.