Browse Source
chore(babel): consolidate babel-env config
renovate/lint-staged-8.x
Tom Kirkpatrick
6 years ago
No known key found for this signature in database
GPG Key ID: 72203A8EC5967EA8
3 changed files with
4 additions and
23 deletions
-
babel.config.js
-
package.json
-
yarn.lock
|
|
@ -1,24 +1,8 @@ |
|
|
|
module.exports = { |
|
|
|
presets: [ |
|
|
|
[ |
|
|
|
'@babel/preset-env', |
|
|
|
{ |
|
|
|
targets: { |
|
|
|
node: 8, |
|
|
|
browsers: 'electron 2.0' |
|
|
|
}, |
|
|
|
useBuiltIns: 'usage' |
|
|
|
} |
|
|
|
], |
|
|
|
'@babel/preset-flow', |
|
|
|
'@babel/react' |
|
|
|
], |
|
|
|
presets: ['@babel/preset-env', '@babel/preset-flow', '@babel/react'], |
|
|
|
plugins: [ |
|
|
|
'@babel/plugin-proposal-object-rest-spread', |
|
|
|
'@babel/plugin-proposal-class-properties', |
|
|
|
'@babel/plugin-proposal-export-default-from', |
|
|
|
'@babel/plugin-transform-classes', |
|
|
|
'@babel/plugin-transform-destructuring', |
|
|
|
'babel-plugin-styled-components', |
|
|
|
[ |
|
|
|
'react-intl-auto', |
|
|
|
|
|
@ -202,9 +202,6 @@ |
|
|
|
"@babel/core": "7.1.6", |
|
|
|
"@babel/plugin-proposal-class-properties": "7.1.0", |
|
|
|
"@babel/plugin-proposal-export-default-from": "7.0.0", |
|
|
|
"@babel/plugin-proposal-object-rest-spread": "7.0.0", |
|
|
|
"@babel/plugin-transform-classes": "7.1.0", |
|
|
|
"@babel/plugin-transform-destructuring": "7.1.3", |
|
|
|
"@babel/preset-env": "7.1.6", |
|
|
|
"@babel/preset-flow": "7.0.0", |
|
|
|
"@babel/preset-react": "7.0.0", |
|
|
|
|
|
@ -323,7 +323,7 @@ |
|
|
|
"@babel/helper-plugin-utils" "^7.0.0" |
|
|
|
"@babel/plugin-syntax-json-strings" "^7.0.0" |
|
|
|
|
|
|
|
"@babel/plugin-proposal-object-rest-spread@7.0.0", "@babel/plugin-proposal-object-rest-spread@^7.0.0": |
|
|
|
"@babel/plugin-proposal-object-rest-spread@^7.0.0": |
|
|
|
version "7.0.0" |
|
|
|
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.0.0.tgz#9a17b547f64d0676b6c9cecd4edf74a82ab85e7e" |
|
|
|
integrity sha512-14fhfoPcNu7itSen7Py1iGN0gEm87hX/B+8nZPqkdmANyyYWYMY2pjA3r8WXbWVKMzfnSNS0xY8GVS0IjXi/iw== |
|
|
@ -443,7 +443,7 @@ |
|
|
|
"@babel/helper-plugin-utils" "^7.0.0" |
|
|
|
lodash "^4.17.10" |
|
|
|
|
|
|
|
"@babel/plugin-transform-classes@7.1.0", "@babel/plugin-transform-classes@^7.1.0": |
|
|
|
"@babel/plugin-transform-classes@^7.1.0": |
|
|
|
version "7.1.0" |
|
|
|
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.1.0.tgz#ab3f8a564361800cbc8ab1ca6f21108038432249" |
|
|
|
integrity sha512-rNaqoD+4OCBZjM7VaskladgqnZ1LO6o2UxuWSDzljzW21pN1KXkB7BstAVweZdxQkHAujps5QMNOTWesBciKFg== |
|
|
@ -464,7 +464,7 @@ |
|
|
|
dependencies: |
|
|
|
"@babel/helper-plugin-utils" "^7.0.0" |
|
|
|
|
|
|
|
"@babel/plugin-transform-destructuring@7.1.3", "@babel/plugin-transform-destructuring@^7.0.0": |
|
|
|
"@babel/plugin-transform-destructuring@^7.0.0": |
|
|
|
version "7.1.3" |
|
|
|
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.1.3.tgz#e69ff50ca01fac6cb72863c544e516c2b193012f" |
|
|
|
integrity sha512-Mb9M4DGIOspH1ExHOUnn2UUXFOyVTiX84fXCd+6B5iWrQg/QMeeRmSwpZ9lnjYLSXtZwiw80ytVMr3zue0ucYw== |
|
|
|