tsconfig.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. "compilerOptions": {
  3. /* Type Checking */
  4. "noImplicitAny": true,
  5. "noImplicitReturns": true,
  6. "noImplicitThis": true,
  7. "noUnusedLocals": true,
  8. "strictNullChecks": true,
  9. "module": "esnext",
  10. "moduleResolution": "bundler",
  11. "types": ["jest", "node", "@testing-library/jest-dom"],
  12. "typeRoots": ["src/types", "node_modules/@types"],
  13. /* Emit */
  14. "declaration": true,
  15. "declarationMap": true,
  16. "importHelpers": false,
  17. "noEmitOnError": true,
  18. "outDir": "./dist",
  19. "rootDir": ".",
  20. "declarationDir": "lib",
  21. "sourceMap": true,
  22. /* JavaScript Support */
  23. "allowJs": true,
  24. /* Interop Constraints */
  25. "allowSyntheticDefaultImports": true,
  26. "esModuleInterop": true,
  27. "forceConsistentCasingInFileNames": true,
  28. /* Language and Environment */
  29. "target": "es2020",
  30. "jsx": "react-jsx",
  31. "jsxImportSource": "@emotion/react",
  32. "lib": ["dom", "dom.iterable", "esnext"],
  33. /* Projects */
  34. "composite": true,
  35. /* Completeness */
  36. "skipLibCheck": true,
  37. "baseUrl": ".",
  38. "paths": {
  39. "@superset-ui/core": ["./packages/superset-ui-core/src"],
  40. "@superset-ui/core/*": ["./packages/superset-ui-core/src/*"],
  41. "@superset-ui/chart-controls": [
  42. "./packages/superset-ui-chart-controls/src"
  43. ],
  44. "@superset-ui/chart-controls/*": [
  45. "./packages/superset-ui-chart-controls/src/*"
  46. ],
  47. "@superset-ui/switchboard": ["./packages/superset-ui-switchboard/src"],
  48. "@apache-superset/core": ["./packages/superset-core/src"],
  49. "@apache-superset/core/*": ["./packages/superset-core/src/*"],
  50. "@superset-ui/plugin-chart-*": ["./plugins/plugin-chart-*/src"],
  51. "@superset-ui/legacy-plugin-chart-*": ["./plugins/legacy-plugin-chart-*/src"],
  52. "@superset-ui/legacy-preset-chart-*": ["./plugins/legacy-preset-chart-*/src"],
  53. "echarts/types/src/*": ["./node_modules/echarts/types/src/*"]
  54. }
  55. },
  56. "include": [
  57. "./src/**/*",
  58. "./spec/**/*",
  59. "./plugins/**/*",
  60. "./packages/**/*",
  61. "./scripts/**/*",
  62. "./webpack.config.js",
  63. "./webpack*.js",
  64. "./package.json"
  65. ],
  66. "references": [
  67. { "path": "./packages/superset-core" },
  68. { "path": "./packages/superset-ui-core" },
  69. { "path": "./packages/superset-ui-chart-controls" },
  70. { "path": "./packages/superset-ui-switchboard" },
  71. { "path": "./plugins/legacy-plugin-chart-calendar" },
  72. { "path": "./plugins/legacy-plugin-chart-chord" },
  73. { "path": "./plugins/legacy-plugin-chart-country-map" },
  74. { "path": "./plugins/legacy-plugin-chart-horizon" },
  75. { "path": "./plugins/legacy-plugin-chart-map-box" },
  76. { "path": "./plugins/legacy-plugin-chart-paired-t-test" },
  77. { "path": "./plugins/legacy-plugin-chart-parallel-coordinates" },
  78. { "path": "./plugins/legacy-plugin-chart-partition" },
  79. { "path": "./plugins/legacy-plugin-chart-rose" },
  80. { "path": "./plugins/legacy-plugin-chart-world-map" },
  81. { "path": "./plugins/legacy-preset-chart-deckgl" },
  82. { "path": "./plugins/legacy-preset-chart-nvd3" },
  83. { "path": "./plugins/plugin-chart-ag-grid-table" },
  84. { "path": "./plugins/plugin-chart-cartodiagram" },
  85. { "path": "./plugins/plugin-chart-echarts" },
  86. { "path": "./plugins/plugin-chart-handlebars" },
  87. { "path": "./plugins/plugin-chart-pivot-table" },
  88. { "path": "./plugins/plugin-chart-table" },
  89. { "path": "./plugins/plugin-chart-word-cloud" }
  90. ],
  91. "exclude": []
  92. }