Skip to content

Commit 950e00b

Browse files
committed
Update package.json with babel packages
1 parent d95f235 commit 950e00b

File tree

2 files changed

+17
-12
lines changed

2 files changed

+17
-12
lines changed

.babelrc

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
{
2-
"presets": ["react", "env"],
2+
"presets": [
3+
"@babel/preset-react",
4+
"@babel/preset-env"
5+
],
36
"plugins": [
4-
"syntax-dynamic-import",
5-
"transform-class-properties",
6-
"transform-object-rest-spread"
7+
"@babel/plugin-syntax-dynamic-import",
8+
"@babel/plugin-proposal-class-properties",
9+
"@babel/plugin-proposal-object-rest-spread"
710
]
811
}

package.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,16 @@
4545
"redux-thunk": "^2.2.0"
4646
},
4747
"devDependencies": {
48-
"babel-core": "^6.26.3",
49-
"babel-eslint": "^8.2.3",
50-
"babel-loader": "^7.1.4",
51-
"babel-plugin-syntax-dynamic-import": "^6.18.0",
52-
"babel-plugin-transform-class-properties": "^6.24.1",
53-
"babel-plugin-transform-object-rest-spread": "^6.26.0",
54-
"babel-preset-env": "^1.7.0",
55-
"babel-preset-react": "^6.24.1",
48+
"@babel/core": "^7.0.0",
49+
"@babel/plugin-proposal-class-properties": "^7.0.0",
50+
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
51+
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
52+
"@babel/preset-env": "^7.0.0",
53+
"@babel/preset-react": "^7.0.0",
54+
"babel-core": "^7.0.0-bridge.0",
55+
"babel-eslint": "^9.0.0",
56+
"babel-jest": "^23.4.2",
57+
"babel-loader": "^8.0.0",
5658
"clean-webpack-plugin": "^0.1.17",
5759
"css-loader": "^0.28.7",
5860
"enzyme": "^3.3.0",

0 commit comments

Comments
 (0)