{
  "compilerOptions": {
    "target": "esnext",
    "lib": ["esnext", "dom", "dom.iterable"],
    "module": "esnext",
    "moduleResolution": "bundler",
    "rootDir": ".",
<% if (testFramework === 'rtl') { %>
    "types": ["jest", "@testing-library/jest-dom"],
<% } else if (testFramework) { %>
    "types": ["jest"],
<% } %>
<% if (styleFramework === 'uikit') { %>
    // uikit-react ships a broken index.d.ts that would otherwise fail the build
    "skipLibCheck": true,
<% } %>
    "jsx": "react-jsx"
  },
<% if (testFramework === 'rtl') { %>
  "include": ["src/", ".storybook/", "jest.setup.ts"]
<% } else { %>
  "include": ["src/", ".storybook/"]
<% } %>
}
