Summary: - Enabled typescript in "scripts" folder - Converted start-dev-server.js to typescript Reviewed By: passy Differential Revision: D20066501 fbshipit-source-id: 23550cf3774e07fad0a8783831e3d574baee977f
23 lines
607 B
JSON
23 lines
607 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"lib": ["es7", "dom", "es2017"],
|
|
"esModuleInterop": true,
|
|
"target": "es6",
|
|
"removeComments": true,
|
|
"preserveConstEnums": true,
|
|
"sourceMap": true,
|
|
"jsx": "react",
|
|
"moduleResolution": "node",
|
|
"baseUrl": ".",
|
|
"downlevelIteration": true,
|
|
"paths": {
|
|
"flipper": ["./src/index.tsx"],
|
|
"live-plugin-manager": ["./types/live-plugin-manager.d.tsx"]
|
|
},
|
|
"strict": true
|
|
},
|
|
"include": ["src/**/*", "static/**/*", "scripts/**/*", "types/*", "headless/*"],
|
|
"exclude": ["node_modules", "**/*.spec.ts"]
|
|
}
|