mirror of
https://github.com/RoboSats/robosats.git
synced 2024-09-11 14:05:51 +03:00
This commit adds full Typescript support. Although .js files will keep on working normally, it's encouraged that new files are created with either .tsx(for components) or .ts(for non components) extensions. Also, a linter with some basic settings for React and Typescript has been added. These settings can be changed at any time if needed.
16 lines
223 B
JSON
16 lines
223 B
JSON
{
|
|
"presets": [
|
|
"@babel/preset-env",
|
|
"@babel/preset-react",
|
|
"@babel/preset-typescript"
|
|
],
|
|
"plugins": [
|
|
[
|
|
"@babel/plugin-transform-runtime",
|
|
{
|
|
"regenerator": true
|
|
}
|
|
]
|
|
]
|
|
}
|