mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
54 lines
1.6 KiB
JSON
54 lines
1.6 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": {
|
|
"@superset-ui/core": [
|
|
"./node_modules/@superset-ui/core/src",
|
|
"./node_modules/@superset-ui/core"
|
|
],
|
|
"@superset-ui/chart-controls": [
|
|
"./node_modules/@superset-ui/chart-controls/src",
|
|
"./node_modules/@superset-ui/chart-controls"
|
|
],
|
|
// for supressing errors caused by incompatible @types/react when `npm link`
|
|
// Ref: https://github.com/Microsoft/typescript/issues/6496#issuecomment-384786222
|
|
"react": ["./node_modules/@types/react", "react"]
|
|
},
|
|
"skipLibCheck": true,
|
|
"sourceMap": true,
|
|
"strictNullChecks": true,
|
|
"suppressImplicitAnyIndexErrors": true,
|
|
"target": "esnext",
|
|
"types": [
|
|
"@emotion/react/types/css-prop",
|
|
"jest",
|
|
"@testing-library/jest-dom"
|
|
]
|
|
},
|
|
"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/**/*"]
|
|
}
|