Skip to content

Commit

Permalink
Babel 7 update
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Buck committed Nov 2, 2018
1 parent daba745 commit 246a5f6
Show file tree
Hide file tree
Showing 4 changed files with 2,454 additions and 116 deletions.
11 changes: 0 additions & 11 deletions .babelrc

This file was deleted.

11 changes: 11 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
env: {
test: {
presets: ['@babel/preset-env'],
},
},
plugins: [
'transform-object-rest-spread',
['@babel/transform-react-jsx', { pragma: 'h' }],
],
};
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@
"firefox-launch": "web-ext run --source-dir dist --pref startup.homepage_welcome_url=https://github.com/OctoLinker/OctoLinker/blob/master/package.json"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-transform-react-jsx": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"async": "^2.6.1",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.6.1",
"babel-jest": "^23.4.2",
"babel-loader": "^8.0.0",
"babel-preset-jest": "^22.0.3",
"chrome-launch": "^1.1.4",
"chrome-webstore-upload-cli": "^1.1.1",
Expand Down
Loading

0 comments on commit 246a5f6

Please sign in to comment.