-
Notifications
You must be signed in to change notification settings - Fork 4
/
tsconfig.json
21 lines (21 loc) · 950 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
// Inspired by TSConfig base for Vite React and what is recommended for bundler and library
// https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#tsconfig-bases
// https://www.npmjs.com/package/@tsconfig/vite-react
// https://www.typescriptlang.org/docs/handbook/modules/guides/choosing-compiler-options.html
"compilerOptions": {
"module": "esnext",
"moduleResolution": "bundler",
"target": "es6",
"lib": ["dom", "dom.iterable", "esnext"],
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
},
"types":["node","jest", "@testing-library/jest-dom"],
"include": ["src", "demo","jest.setup.ts"] // we can let demo because the file generation is managed my vite and we have noEmit anyway
}