Skip to content

Commit d991b64

Browse files
committed
Cleanup dependencies and bump min version to current LTS
1 parent cd91e94 commit d991b64

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

.babelrc

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
22
"plugins": [
3-
"transform-flow-strip-types"
3+
"transform-flow-strip-types",
4+
"transform-object-rest-spread"
45
],
56
"presets": [
6-
"es2015",
7-
"stage-3",
87
["env", {
98
"targets": {
10-
"node": "4.6"
9+
"node": "6.11.4"
1110
}
1211
}]
1312
]

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ stage: test
2525
env:
2626
global:
2727
- COVERAGE_OPTION='./node_modules/.bin/nyc'
28-
- NODE_VERSION=6.10
28+
- NODE_VERSION=6.11.4
2929
matrix:
3030
- MONGODB_VERSION=3.2.13
3131
- MONGODB_VERSION=3.4.4
3232
- PARSE_SERVER_TEST_DB=postgres
3333
- PARSE_SERVER_TEST_CACHE=redis
34-
- NODE_VERSION=8.5
34+
- NODE_VERSION=8.7
3535
before_install:
3636
- nvm install $NODE_VERSION
3737
- nvm use $NODE_VERSION
@@ -48,7 +48,7 @@ jobs:
4848
include:
4949
# release on github latest branch
5050
- stage: release
51-
node_js: '4.6'
51+
node_js: '6.11.4'
5252
env:
5353
before_script: skip
5454
after_script: skip

package.json

+2-5
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,9 @@
4848
"babel-cli": "6.26.0",
4949
"babel-core": "6.26.0",
5050
"babel-eslint": "^8.0.0",
51-
"babel-plugin-syntax-flow": "6.18.0",
5251
"babel-plugin-transform-flow-strip-types": "6.22.0",
52+
"babel-plugin-transform-object-rest-spread": "^6.26.0",
5353
"babel-preset-env": "1.6.1",
54-
"babel-preset-es2015": "6.24.1",
55-
"babel-preset-stage-3": "6.24.1",
56-
"babel-register": "6.26.0",
5754
"bcrypt-nodejs": "0.0.3",
5855
"cross-env": "5.1.0",
5956
"deep-diff": "0.3.8",
@@ -80,7 +77,7 @@
8077
"prepublish": "npm run build"
8178
},
8279
"engines": {
83-
"node": ">=4.6"
80+
"node": ">=6.11.4"
8481
},
8582
"bin": {
8683
"parse-server": "./bin/parse-server"

0 commit comments

Comments
 (0)