Skip to content
This repository was archived by the owner on Aug 27, 2020. It is now read-only.

Commit cb083c6

Browse files
committed
[WIP] next@7, add babel.config.js, upgrade pkgs
1 parent 91a4762 commit cb083c6

File tree

3 files changed

+1398
-657
lines changed

3 files changed

+1398
-657
lines changed

babel.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = (api) => {
2+
api.cache(true)
3+
return {
4+
presets: [],
5+
plugins: [
6+
'@babel/proposal-class-properties',
7+
'@babel/proposal-object-rest-spread',
8+
]
9+
}
10+
}

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
"dependencies": {
2323
"classnames": "^2.2.5",
2424
"moment": "^2.22.1",
25-
"next": "^6.1.1",
26-
"react": "^16.4.2",
27-
"react-dom": "^16.4.2",
25+
"next": "^7.0.0",
26+
"react": "^16.5.2",
27+
"react-dom": "^16.5.2",
2828
"react-ga": "^2.5.3",
2929
"react-redux": "^5.0.7",
3030
"redux": "^4.0.0",
@@ -50,6 +50,7 @@
5050
"awesome-typescript-loader": "4",
5151
"babel-loader": "^7.1.4",
5252
"babel-plugin-transform-define": "^1.3.0",
53+
"babel-upgrade": "^0.0.23",
5354
"cssnano": "^3.10.0",
5455
"enzyme": "^3.3.0",
5556
"enzyme-adapter-react-16": "^1.1.1",

0 commit comments

Comments
 (0)