Skip to content

Commit

Permalink
chore: upgrade deps verion (#20)
Browse files Browse the repository at this point in the history
* chore: upgrade babel cli to new pkg

* ci: set version matrix as current LTS

* fix: use corresponding babel* version

* chore: recovery legacy node versions in ci

* fix: follow jest's nodejs version

ref: https://github.com/facebook/jest/blob/8c20a8d8566ebcbb0cc9aadef3d5a230a2f97522/package.json#L147
  • Loading branch information
zhuangya authored and hustcc committed Jan 8, 2020
1 parent 112264e commit 77a3aff
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"presets": ["env"],
"presets": ["@babel/preset-env"],
"plugins": ["version"]
}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ node_modules
coverage
package-lock.json
lib
yarn.lock
yarn.lock
yarn-error.log
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
language: node_js
node_js:
- "4"
- "5"
- "6"
- "7"
- "8"
- "9"
- "10"
- "11"
- "12"
- "13"
after_success:
- npm run coveralls
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@
},
"homepage": "https://github.com/hustcc/jest-date-mock#readme",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-jest": "^22.0.4",
"@babel/cli": "^7.7.7",
"@babel/core": "^7.7.7",
"@babel/preset-env": "^7.7.7",
"babel-jest": "^24.9.0",
"babel-plugin-version": "^0.2.2",
"babel-preset-env": "^1.6.1",
"coveralls": "^3.0.0",
"jest": "^21.2.1"
"jest": "^24.9.0"
},
"jest": {
"collectCoverage": true,
Expand Down

0 comments on commit 77a3aff

Please sign in to comment.