2017-12-13 11:01:37 +00:00
|
|
|
{
|
2018-05-18 16:23:46 +00:00
|
|
|
"presets": [
|
2019-02-01 17:09:16 +00:00
|
|
|
[
|
|
|
|
"@babel/preset-env",
|
|
|
|
{
|
|
|
|
"useBuiltIns": "entry",
|
|
|
|
"loose": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"@babel/preset-react",
|
|
|
|
"@babel/preset-flow"
|
2018-05-18 16:23:46 +00:00
|
|
|
],
|
|
|
|
"plugins": [
|
2018-08-10 15:18:22 +00:00
|
|
|
"react-hot-loader/babel",
|
2019-02-01 17:09:16 +00:00
|
|
|
"@babel/plugin-transform-flow-strip-types",
|
|
|
|
"@babel/plugin-proposal-class-properties",
|
|
|
|
"@babel/plugin-proposal-object-rest-spread",
|
|
|
|
[
|
|
|
|
"@babel/plugin-transform-runtime",
|
|
|
|
{
|
|
|
|
"regenerator": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"module-resolver",
|
|
|
|
{
|
|
|
|
"root": [
|
|
|
|
"./src"
|
|
|
|
],
|
|
|
|
"alias": {
|
|
|
|
"public": [
|
|
|
|
"./public"
|
|
|
|
]
|
|
|
|
}
|
2018-09-05 14:36:48 +00:00
|
|
|
}
|
2019-02-01 17:09:16 +00:00
|
|
|
],
|
2018-07-30 14:30:25 +00:00
|
|
|
"babel-plugin-styled-components"
|
2018-07-30 12:10:57 +00:00
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"test": {
|
2019-02-01 17:09:16 +00:00
|
|
|
"presets": [
|
|
|
|
"jest"
|
|
|
|
]
|
2018-07-30 12:10:57 +00:00
|
|
|
}
|
2018-11-02 15:38:27 +00:00
|
|
|
}
|
2019-02-01 17:09:16 +00:00
|
|
|
}
|