Move to babel 7

This commit is contained in:
Martin Pitt 2018-08-28 23:13:26 +02:00
parent 133badfa3d
commit 2a5868d923
2 changed files with 7 additions and 6 deletions

View file

@ -1,4 +1,4 @@
{
"presets": ["env"],
"plugins": ["transform-react-jsx"]
"presets": ["@babel/env",
"@babel/preset-react"]
}

View file

@ -10,11 +10,11 @@
"build": "webpack"
},
"devDependencies": {
"babel-core": "^6.25.0",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"babel-eslint": "^9.0.0",
"babel-loader": "^7.0.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.5.2",
"babel-loader": "^8.0.0",
"chrome-remote-interface": "^0.25.5",
"compression-webpack-plugin": "~1.0.0",
"copy-webpack-plugin": "~3.0.1",
@ -39,6 +39,7 @@
"webpack": "^2.6.1"
},
"dependencies": {
"@babel/polyfill": "^7.0.0",
"node-sass": "^4.9.0",
"react-lite": "0.15.30"
}