Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 62f8c20

Browse files
committed
Uses babel-preset-env instead and target node 6.9
1 parent 8c9705f commit 62f8c20

File tree

4 files changed

+116
-62
lines changed

4 files changed

+116
-62
lines changed

.babelrc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
"presets": [
3-
"node5"
3+
["env", {
4+
"targets": {
5+
"node": 6.9
6+
}
7+
}]
48
],
59
"plugins": [
610
"transform-flow-strip-types"

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ node_js:
55
- stable
66
- "7"
77
- "6"
8-
- "5"
98

109
cache:
1110
yarn: true
12-
11+
1312
deploy:
1413
provider: npm
1514

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
"babel-eslint": "^7.0.0",
3535
"babel-plugin-transform-flow-strip-types": "^6.14.0",
3636
"babel-polyfill": "^6.5.0",
37-
"babel-preset-es2015": "^6.5.0",
38-
"babel-preset-node5": "^12.0.0",
37+
"babel-preset-env": "^1.0.2",
38+
"babel-preset-es2015": "^6.18.0",
3939
"del": "^2.2.0",
4040
"eslint": "^3.8.1",
4141
"eslint-config-fb-strict": "^17.0.0",

0 commit comments

Comments
 (0)