Skip to content

Commit 8c9f89e

Browse files
committed
feat: drop Node v4
BREAKING CHANGE: Dropped Node v4.
1 parent 8f41c17 commit 8c9f89e

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.babelrc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
"add-module-exports"
55
],
66
"presets": [
7-
"es2015"
7+
["env", {
8+
"targets": {
9+
"node": "current"
10+
}
11+
}]
812
]
913
}

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ node_js:
33
- 7
44
- 6
55
- 5
6-
- 4
76
before_install:
87
- npm config set depth 0
98
- npm install --global npm@latest

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"babel-cli": "^6.18.0",
1414
"babel-plugin-add-module-exports": "^0.2.1",
1515
"babel-plugin-transform-flow-strip-types": "^6.18.0",
16-
"babel-preset-es2015": "^6.5.0",
16+
"babel-preset-env": "^1.2.2",
1717
"babel-register": "^6.18.0",
1818
"chai": "^3.5.0",
1919
"eslint": "^3.10.2",
@@ -23,6 +23,9 @@
2323
"mocha": "^2.5.3",
2424
"semantic-release": "^6.3.2"
2525
},
26+
"engines": {
27+
"node": ">=5"
28+
},
2629
"keywords": [
2730
"eslint",
2831
"plugin",

0 commit comments

Comments
 (0)