Skip to content
This repository was archived by the owner on Apr 23, 2022. It is now read-only.

Commit

Permalink
chore: upgrade to Babel 7
Browse files Browse the repository at this point in the history
  • Loading branch information
claygriffiths committed Dec 3, 2018
1 parent 4b8535f commit 3276fac
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
16 changes: 14 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
{
"presets": ["es2015", "stage-0", "react"]
}
"presets": [
["@babel/preset-env", {
"targets": {
"electron": "3.0"
}
}],
"@babel/preset-react"
],
"plugins": [
[
"@babel/plugin-proposal-class-properties"
]
]
}
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@
"build": "babel src -d lib"
},
"devDependencies": {
"babel-cli": "^6.14.0",
"babel-preset-es2015": "^6.14.0",
"babel-preset-react": "^6.11.1",
"babel-preset-stage-0": "^6.5.0"
"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@babel/preset-react": "^7.0.0",
},
"dependencies": {},
"engines": {
Expand Down

0 comments on commit 3276fac

Please sign in to comment.