Skip to content

Commit

Permalink
babel & jest upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
quantizor committed Jun 11, 2019
1 parent 5051a91 commit f8f7314
Show file tree
Hide file tree
Showing 3 changed files with 2,155 additions and 785 deletions.
10 changes: 6 additions & 4 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"presets": ["es2015", "react"],

"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"transform-object-rest-spread",
"transform-class-properties"
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-class-properties"
]
}
19 changes: 11 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@
"test:ts": "tsc --strict ./typings/index.d.ts"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-jest": "^23.4.2",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.8.0",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"enzyme-to-json": "^3.3.1",
Expand All @@ -40,7 +41,7 @@
"eslint-plugin-prettier": "^2.1.2",
"eslint-plugin-react": "^6.10.0",
"husky": "^0.14.3",
"jest": "^23.5.0",
"jest": "^24.8.0",
"lint-staged": "^7.2.2",
"preact": "^8.3.1",
"preact-compat": "^3.18.4",
Expand Down Expand Up @@ -70,7 +71,9 @@
"setupFiles": [
"<rootDir>/test/__mocks__/requestAnimationFrame.js"
],
"setupTestFrameworkScriptFile": "<rootDir>/test/setup.js",
"setupFilesAfterEnv": [
"<rootDir>/test/setup.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
Expand Down
Loading

0 comments on commit f8f7314

Please sign in to comment.