mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-24 09:18:09 +00:00
36 lines
937 B
Plaintext
36 lines
937 B
Plaintext
{
|
|
"presets": [
|
|
["env", {
|
|
"useBuiltIns": true,
|
|
"loose": true
|
|
}],
|
|
"react"
|
|
],
|
|
"plugins": [
|
|
"react-hot-loader/babel",
|
|
"transform-class-properties",
|
|
"transform-object-rest-spread",
|
|
"transform-flow-strip-types",
|
|
["transform-runtime", {
|
|
"polyfill": false,
|
|
"regenerator": true
|
|
}],
|
|
["babel-plugin-root-import", {
|
|
"rootPathSuffix": "./src",
|
|
"rootPathPrefix": "~",
|
|
"alias": {
|
|
"components": "./src/js/components",
|
|
"config": "./src/js/config",
|
|
"reducers": "./src/js/reducers",
|
|
"actions": "./src/js/actions",
|
|
"services": "./src/js/services"
|
|
}
|
|
}],
|
|
"babel-plugin-styled-components"
|
|
],
|
|
"env": {
|
|
"test": {
|
|
"presets": ["jest"]
|
|
}
|
|
}
|
|
} |