Skip to content

Commit 53dcb93

Browse files
authored
Upgraded deps, including babel plugins (#48)
1 parent 670ebf6 commit 53dcb93

File tree

5 files changed

+6298
-6313
lines changed

5 files changed

+6298
-6313
lines changed

.babelrc

+24-5
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,39 @@
11
{
22
"presets": [
33
[
4-
"env",
4+
"@babel/preset-env",
55
{
66
"targets": {
77
"node": "8"
88
}
99
}
1010
],
11-
"react",
12-
"stage-2"
11+
"@babel/preset-react",
12+
"@babel/preset-flow"
1313
],
1414
"env": {
1515
"test": {
16-
"plugins": ["transform-react-jsx-source", "istanbul"]
16+
"plugins": [
17+
"@babel/plugin-transform-react-jsx-source",
18+
"istanbul"
19+
]
1720
}
1821
},
19-
"plugins": ["transform-flow-strip-types"]
22+
"plugins": [
23+
"@babel/plugin-transform-flow-strip-types",
24+
"@babel/plugin-syntax-dynamic-import",
25+
"@babel/plugin-syntax-import-meta",
26+
"@babel/plugin-proposal-class-properties",
27+
"@babel/plugin-proposal-json-strings",
28+
[
29+
"@babel/plugin-proposal-decorators",
30+
{
31+
"legacy": true
32+
}
33+
],
34+
"@babel/plugin-proposal-function-sent",
35+
"@babel/plugin-proposal-export-namespace-from",
36+
"@babel/plugin-proposal-numeric-separator",
37+
"@babel/plugin-proposal-throw-expressions"
38+
]
2039
}

0 commit comments

Comments
 (0)