mirror of https://github.com/apache/superset.git
41 lines
1.2 KiB
JSON
41 lines
1.2 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"baseUrl": ".",
|
|
"esModuleInterop": false,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"importHelpers": false,
|
|
"jsx": "preserve",
|
|
"lib": ["dom", "esnext"],
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"noImplicitAny": true,
|
|
"noImplicitReturns": true,
|
|
"noImplicitThis": true,
|
|
"noUnusedLocals": true,
|
|
"outDir": "./dist",
|
|
"pretty": true,
|
|
"paths": {
|
|
// for supressing errors caused by incompatible @types/react when `npm link`
|
|
// Ref: https://github.com/Microsoft/typescript/issues/6496#issuecomment-384786222
|
|
"*": ["./node_modules/@types/*", "*"]
|
|
},
|
|
"skipLibCheck": true,
|
|
"sourceMap": true,
|
|
"strictNullChecks": true,
|
|
"suppressImplicitAnyIndexErrors": true,
|
|
"target": "esnext"
|
|
},
|
|
"include": [
|
|
"./src/**/*",
|
|
"./spec/**/*",
|
|
// include the source code of each plugin
|
|
"./node_modules/*superset-ui*/**/src/**/*",
|
|
"./node_modules/*superset-ui*/**/types/**/*",
|
|
// and the type defs of their dependencies
|
|
"./node_modules/*superset-ui*/**/node_modules/**/*.d.ts"
|
|
],
|
|
"exclude": ["./node_modules/*superset-ui*/**/node_modules/@superset-ui/**/*"]
|
|
}
|