insomnia/packages/insomnia-app/.babelrc
Opender Singh fd1420ddc8
Add filename to apiSpec model and decouple from workspace name (#2063)
* Initial commit

* WIP

* Fix lint

* Fix tests

* Add test for workspace migration

* Rename title to use fileName instead of workspace name for designer

* Linting
2020-04-28 14:29:51 -04:00

38 lines
703 B
Plaintext

{
"presets": [
"@babel/preset-react",
"@babel/preset-flow"
],
"plugins": [
[
"@babel/plugin-proposal-decorators",
{
"legacy": true
}
],
["@babel/plugin-proposal-class-properties", { "loose" : true }],
["@babel/plugin-proposal-optional-chaining"]
],
"env": {
"development": {
"plugins": [
"react-hot-loader/babel"
]
},
"test": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "10"
}
}
],
// We need to add this again because it has to run before es2015
"@babel/preset-flow"
]
}
}
}