Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbarbara committed Dec 19, 2018
1 parent 3ccddd8 commit 9074a65
Show file tree
Hide file tree
Showing 3 changed files with 9,220 additions and 16,589 deletions.
53 changes: 42 additions & 11 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,34 +1,65 @@
{
"presets": [
[
"env",
"@babel/preset-env",
{
"useBuiltIns": true,
"modules": false
}
],
"react",
"stage-1"
"@babel/preset-react",
"@babel/preset-flow"
],
"plugins": [
"@babel/plugin-proposal-class-properties",
[
"@babel/plugin-proposal-decorators",
{
"legacy": true
}
],
"@babel/plugin-proposal-do-expressions",
"@babel/plugin-proposal-export-default-from",
"@babel/plugin-proposal-export-namespace-from",
"@babel/plugin-proposal-function-sent",
"@babel/plugin-proposal-json-strings",
"@babel/plugin-proposal-logical-assignment-operators",
"@babel/plugin-proposal-nullish-coalescing-operator",
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-optional-chaining",
[
"@babel/plugin-proposal-pipeline-operator",
{
"proposal": "minimal"
}
],
"@babel/plugin-proposal-throw-expressions",
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-syntax-import-meta"
],
"env": {
"production": {
"plugins": [
"array-includes",
"transform-flow-strip-types",
"transform-object-assign"
"@babel/plugin-transform-flow-strip-types",
"@babel/plugin-transform-object-assign"
]
},
"commonjs": {
"plugins": [
"array-includes",
["transform-es2015-modules-commonjs", { "loose": true }],
"transform-flow-strip-types",
"transform-object-assign"
[
"@babel/plugin-transform-modules-commonjs",
{
"loose": true
}
],
"@babel/plugin-transform-flow-strip-types",
"@babel/plugin-transform-object-assign",
"array-includes"
]
},
"test": {
"plugins": [
"transform-es2015-modules-commonjs"
"@babel/plugin-transform-modules-commonjs"
],
"sourceMaps": "both"
}
Expand Down
Loading

0 comments on commit 9074a65

Please sign in to comment.