-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtsconfig.json
More file actions
53 lines (53 loc) · 2.06 KB
/
tsconfig.json
File metadata and controls
53 lines (53 loc) · 2.06 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"compilerOptions": {
/* Visit https://aka.ms/tsconfig.json to read more about this file */
/* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"target": "ESNext",
/* Specify a set of bundled library declaration files that describe the target runtime environment. */
"lib": ["ESNext", "DOM", "DOM.Iterable"],
/* Specify what JSX code is generated. */
"jsx": "preserve",
/* Specify what module code is generated. */
"module": "ESNext",
/* Specify how TypeScript looks up a file from a given module specifier. */
"moduleResolution": "Bundler",
/* Map "@cladd-ui/react" imports to local src so TS resolves the workspace package without a node_modules link. */
"paths": {
"@cladd-ui/react": ["./src"],
"@cladd-ui/react/*": ["./src/*"]
},
/* Specify type package names to be included without being referenced in a source file. */
"types": [],
/* Enable importing .json files */
"resolveJsonModule": true,
/* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */
"allowJs": true,
/* Enable error reporting in type-checked JavaScript files. */
"checkJs": false,
/* Disable emitting files from a compilation. */
"noEmit": true,
/* Ensure that each file can be safely transpiled without relying on other imports. */
"isolatedModules": true,
/* Allow 'import x from y' when a module doesn't have a default export. */
"allowSyntheticDefaultImports": true,
/* Ensure that casing is correct in imports. */
"forceConsistentCasingInFileNames": true,
/* Enable all strict type-checking options. */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
/* Skip type checking all .d.ts files. */
"skipLibCheck": true,
"incremental": true,
"esModuleInterop": true
},
"exclude": ["test"],
"include": [
"*.ts",
"*.tsx",
"src/**/*.ts",
"src/**/*.tsx",
"playground/**/*.ts",
"playground/**/*.tsx"
]
}