Skip to content

Commit

Permalink
Updated Jest and Babel
Browse files Browse the repository at this point in the history
  • Loading branch information
adriantoine committed Nov 8, 2019
1 parent 4e3f2dd commit 2e8bfa9
Show file tree
Hide file tree
Showing 4 changed files with 2,055 additions and 1,695 deletions.
10 changes: 3 additions & 7 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
{
"presets": [
[
"env",
"@babel/env",
{
"targets": {
"node": "4"
}
}
]
],
"plugins": [
"syntax-export-extensions",
"transform-object-rest-spread",
"transform-react-jsx"
],
"@babel/react"
]
}
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ cache:
- node_modules

node_js:
- '4'
- '6'
- '7'
- '8'
- 'lts'

install:
- yarn --ignore-engines
Expand Down
13 changes: 5 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,10 @@
"enzyme": "^3.4.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-jest": "^21.2.0",
"babel-plugin-syntax-export-extensions": "^6.13.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.6.0",
"@babel/core": "^7.7.2",
"@babel/preset-env": "^7.7.1",
"@babel/preset-react": "^7.7.0",
"babel-jest": "^24.9.0",
"codecov": "^3.6.1",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.7.0",
Expand All @@ -65,7 +62,7 @@
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-react": "^7.4.0",
"eslint-plugin-standard": "^3.0.1",
"jest": "~21.2.1",
"jest": "^24.9.0",
"prettier": "^1.7.4",
"prettier-check": "^2.0.0",
"prop-types": "^15.6.2",
Expand Down
Loading

0 comments on commit 2e8bfa9

Please sign in to comment.