-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathtsconfig.json
More file actions
34 lines (34 loc) · 1.1 KB
/
Copy pathtsconfig.json
File metadata and controls
34 lines (34 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"compilerOptions": {
// TS 6 flags `baseUrl` (re-injected by tsup's dts build via `paths`) as a
// deprecation error; silence it during the 6.x line. Revisit for TS 7.
"ignoreDeprecations": "6.0",
"target": "ES2020",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"moduleResolution": "Bundler",
"jsx": "react-jsx",
"allowImportingTsExtensions": false,
"resolveJsonModule": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"verbatimModuleSyntax": true,
"strict": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"noFallthroughCasesInSwitch": true,
"skipLibCheck": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"noEmit": true,
"types": ["vitest/globals", "@testing-library/jest-dom"],
"paths": {
"react-toggle-component": ["./src/index.ts"]
}
},
"include": ["src", "tests", "site", "*.config.ts", "*.config.js"],
"exclude": ["node_modules", "dist", "site-dist"]
}