projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
17782: Enables typescript support.
[arvados-workbench2.git]
/
tsconfig.json
diff --git
a/tsconfig.json
b/tsconfig.json
index b0e2455281bd09f74171637f30e6e7b22b351319..65315d610c1ac83e4f67f521299acfeed66064a2 100644
(file)
--- a/
tsconfig.json
+++ b/
tsconfig.json
@@
-1,13
+1,15
@@
{
"compilerOptions": {
{
"compilerOptions": {
- "baseUrl": "./",
"outDir": "build/dist",
"module": "esnext",
"target": "es5",
"outDir": "build/dist",
"module": "esnext",
"target": "es5",
- "lib": ["es6", "dom"],
+ "lib": [
+ "es6",
+ "dom"
+ ],
"sourceMap": true,
"allowJs": true,
"sourceMap": true,
"allowJs": true,
- "jsx": "
react
",
+ "jsx": "
preserve
",
"moduleResolution": "node",
"rootDir": "src",
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"rootDir": "src",
"forceConsistentCasingInFileNames": true,
@@
-19,9
+21,13
@@
"noUnusedLocals": false,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"noUnusedLocals": false,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
- "paths": {
- "~/*": ["src/*"]
- }
+ "skipLibCheck": true,
+ "esModuleInterop": true,
+ "allowSyntheticDefaultImports": true,
+ "strict": true,
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "noEmit": true
},
"exclude": [
"node_modules",
},
"exclude": [
"node_modules",
@@
-30,7
+36,11
@@
"acceptance-tests",
"webpack",
"jest",
"acceptance-tests",
"webpack",
"jest",
+ "cypress",
"src/setupTests.ts",
"**/*.test.tsx"
"src/setupTests.ts",
"**/*.test.tsx"
+ ],
+ "include": [
+ "src"
]
}
]
}