Skip to content

Commit 2d5bf09

Browse files
futagozatleunen
authored andcommittedMar 24, 2018
fix: Add support for Node 4 (#286)
Closes #285 Fixes #236
1 parent 04ef195 commit 2d5bf09

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed
 

‎.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"presets": [
33
["env", {
44
"targets": {
5-
"node": 6
5+
"node": 4
66
},
77
"loose": true,
88
"useBuiltIns": true

‎.circleci/config.yml

+12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
version: 2
22
jobs:
3+
test_with_node_4:
4+
docker:
5+
- image: circleci/node:4
6+
steps:
7+
- checkout
8+
- run:
9+
name: Install dependencies
10+
command: npm install
11+
- run:
12+
name: Test
13+
command: npm test
314
test_with_node_6:
415
docker:
516
- image: circleci/node:6
@@ -40,6 +51,7 @@ workflows:
4051
version: 2
4152
test_all:
4253
jobs:
54+
- test_with_node_4
4355
- test_with_node_6
4456
- test_with_node_8
4557
- test_with_node_9

‎appveyor.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
environment:
22
matrix:
3+
- nodejs_version: '4'
34
- nodejs_version: '6'
45
- nodejs_version: '8'
56
- nodejs_version: '9'

‎package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"url": "https://github.com/tleunen/babel-plugin-module-resolver.git"
99
},
1010
"engines": {
11-
"node": ">= 6.0.0"
11+
"node": ">= 4.0.0"
1212
},
1313
"files": ["lib"],
1414
"author": {
@@ -72,6 +72,7 @@
7272
"*.{js}": ["prettier-eslint --write", "eslint --fix", "git add"]
7373
},
7474
"jest": {
75+
"testEnvironment": "node",
7576
"testRegex": "/test/.*\\.test\\.js$",
7677
"collectCoverageFrom": ["src/**/*.js", "!src/log.js"]
7778
}

0 commit comments

Comments
 (0)
Please sign in to comment.