mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
fd1420ddc8
* Initial commit * WIP * Fix lint * Fix tests * Add test for workspace migration * Rename title to use fileName instead of workspace name for designer * Linting
38 lines
703 B
Plaintext
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"
|
|
]
|
|
}
|
|
}
|
|
}
|