mirror of https://github.com/trezor/trezor-wallet
parent
a10c9b08da
commit
86e21f7ffb
@ -1,31 +1,46 @@
|
||||
{
|
||||
"presets": [
|
||||
["env", {
|
||||
"useBuiltIns": true,
|
||||
"loose": true
|
||||
}],
|
||||
"react"
|
||||
[
|
||||
"@babel/preset-env",
|
||||
{
|
||||
"useBuiltIns": "entry",
|
||||
"loose": true
|
||||
}
|
||||
],
|
||||
"@babel/preset-react",
|
||||
"@babel/preset-flow"
|
||||
],
|
||||
"plugins": [
|
||||
"react-hot-loader/babel",
|
||||
"transform-class-properties",
|
||||
"transform-object-rest-spread",
|
||||
"transform-flow-strip-types",
|
||||
["transform-runtime", {
|
||||
"polyfill": false,
|
||||
"regenerator": true
|
||||
}],
|
||||
["module-resolver", {
|
||||
"root": ["./src"],
|
||||
"alias": {
|
||||
"public": ["./public"]
|
||||
"@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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}],
|
||||
],
|
||||
"babel-plugin-styled-components"
|
||||
],
|
||||
"env": {
|
||||
"test": {
|
||||
"presets": ["jest"]
|
||||
"presets": [
|
||||
"jest"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in new issue