Summary: This is the basic setup for TypeScript support in Flipper and makes sure our build system can handle `.ts(x)` files. Support for flow is still fully working, so we can land this and continue with the TS migration. Reviewed By: jknoxville Differential Revision: D15920150 fbshipit-source-id: d5a7f22fe824d1c1904105bbf738767d735cc0f1
18 lines
384 B
JSON
18 lines
384 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "system",
|
|
"removeComments": true,
|
|
"preserveConstEnums": true,
|
|
"outFile": "../../built/local/tsc.js",
|
|
"sourceMap": true,
|
|
"jsx": "react",
|
|
"moduleResolution": "node",
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"flipper": ["./src/index.js"]
|
|
}
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "**/*.spec.ts"]
|
|
}
|