2018-10-24 01:33:51 -04:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
|
|
|
"allowJs": true,
|
2020-02-20 12:54:33 -05:00
|
|
|
"allowSyntheticDefaultImports": true,
|
|
|
|
"baseUrl": ".",
|
2020-03-19 17:57:39 -04:00
|
|
|
"esModuleInterop": false,
|
2020-02-20 12:54:33 -05:00
|
|
|
"forceConsistentCasingInFileNames": true,
|
2020-03-19 17:57:39 -04:00
|
|
|
"importHelpers": false,
|
|
|
|
"jsx": "preserve",
|
2021-10-20 20:53:52 -04:00
|
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
2020-02-20 12:54:33 -05:00
|
|
|
"module": "esnext",
|
2018-10-24 01:33:51 -04:00
|
|
|
"moduleResolution": "node",
|
2020-02-20 12:54:33 -05:00
|
|
|
"noImplicitAny": true,
|
2018-10-24 01:33:51 -04:00
|
|
|
"noImplicitReturns": true,
|
|
|
|
"noImplicitThis": true,
|
|
|
|
"noUnusedLocals": true,
|
2020-02-20 12:54:33 -05:00
|
|
|
"outDir": "./dist",
|
|
|
|
"pretty": true,
|
2020-12-17 00:50:56 -05:00
|
|
|
"paths": {
|
2021-01-07 02:36:24 -05:00
|
|
|
"@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"
|
|
|
|
],
|
2020-12-17 00:50:56 -05:00
|
|
|
// for supressing errors caused by incompatible @types/react when `npm link`
|
|
|
|
// Ref: https://github.com/Microsoft/typescript/issues/6496#issuecomment-384786222
|
2021-01-29 06:12:09 -05:00
|
|
|
"react": ["./node_modules/@types/react", "react"]
|
2020-12-17 00:50:56 -05:00
|
|
|
},
|
2020-01-16 00:48:55 -05:00
|
|
|
"skipLibCheck": true,
|
2020-02-20 12:54:33 -05:00
|
|
|
"sourceMap": true,
|
|
|
|
"strictNullChecks": true,
|
|
|
|
"suppressImplicitAnyIndexErrors": true,
|
2021-05-04 18:26:16 -04:00
|
|
|
"target": "esnext",
|
|
|
|
"types": [
|
|
|
|
"@emotion/react/types/css-prop",
|
|
|
|
"jest",
|
|
|
|
"@testing-library/jest-dom"
|
|
|
|
]
|
2018-10-24 01:33:51 -04:00
|
|
|
},
|
2020-03-19 17:57:39 -04:00
|
|
|
"include": [
|
|
|
|
"./src/**/*",
|
|
|
|
"./spec/**/*",
|
2020-03-30 12:31:46 -04:00
|
|
|
// include the source code of each plugin
|
2020-03-19 17:57:39 -04:00
|
|
|
"./node_modules/*superset-ui*/**/src/**/*",
|
|
|
|
"./node_modules/*superset-ui*/**/types/**/*",
|
2020-03-30 12:31:46 -04:00
|
|
|
// and the type defs of their dependencies
|
2020-03-19 17:57:39 -04:00
|
|
|
"./node_modules/*superset-ui*/**/node_modules/**/*.d.ts"
|
2020-10-13 19:54:06 -04:00
|
|
|
],
|
|
|
|
"exclude": ["./node_modules/*superset-ui*/**/node_modules/@superset-ui/**/*"]
|
2018-10-24 01:33:51 -04:00
|
|
|
}
|