Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Babel 7 #332

Merged
merged 16 commits into from
Jan 15, 2019
Merged
27 changes: 12 additions & 15 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
{
"presets": [
["es2015", { "modules": false }],
"react",
["@babel/preset-env", { "modules": false }],
"@babel/preset-react"
],
"env": {
"targets": {
"node": "current"
},
"test": {
"plugins": ["transform-es2015-modules-commonjs"]
},
"rollup": {
"plugins": ["external-helpers"]
"plugins": ["@babel/plugin-transform-modules-commonjs"]
}
},
"plugins": [
["module-resolver", {
"alias": {
"boardgame.io": "./packages",
[
"module-resolver",
{
"alias": {
"boardgame.io": "./packages"
}
}
}],
"transform-object-rest-spread",
"transform-class-properties"
],
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-runtime"
]
}
5,104 changes: 3,582 additions & 1,522 deletions integration/package-lock.json

Large diffs are not rendered by default.

15 changes: 5 additions & 10 deletions integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"boardgame.io": "file:boardgame.io-0.28.0.tgz",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-scripts": "2.0.3"
"boardgame.io": "file:boardgame.io-0.30.0.tgz",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-scripts": "2.1.3"
},
"scripts": {
"start": "react-scripts start",
Expand All @@ -17,10 +17,5 @@
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
"browserslist": [">0.2%", "not dead", "not ie <= 11", "not op_mini all"]
}