-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
49 lines (49 loc) · 1.6 KB
/
tsconfig.json
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
{
"compilerOptions": {
"target": "esnext",
//"declaration": true,
"rootDir": "src",
"outDir": "dist",
"lib": ["es2017", "dom"],
"sourceMap": true,
"strict": true,
// linter checks for common issues
//"noImplicitReturns": true,
//"noFallthroughCasesInSwitch": true,
// noUnused* overlap with @typescript-eslint/no-unused-vars, can disable if duplicative
//"noUnusedLocals": true,
//"noUnusedParameters": true,
"esModuleInterop": true,
// must set these two as of 6/22 to support exports in solid-client
// see https://github.com/microsoft/TypeScript/issues/33079
"module": "node16",
"moduleResolution": "node16",
"jsx": "react",
// significant perf increase by skipping checking .d.ts files, particularly those in node_modules. Recommended by TS
"skipLibCheck": true,
// error out if import and file system have a casing mismatch. Recommended by TS
"forceConsistentCasingInFileNames": false
},
"include": ["src/**/*.ts"],
"exclude": ["**/node_modules"],
"typedocOptions": {
"out": "docs/api",
"entryPoints": [
// The source files of everything listed under `exports` in our package.json
// (i.e. public API's that should be documented) should be listed here:
"src/hooks/things.ts"
],
"exclude": [
"node_modules/**",
"**/*.test.ts",
// Internal helpers:
"**/*.internal.ts",
// End-to-end tests:
"e2e/**",
// Re-exported functions are already documented in their own modules:
"src/index.ts"
],
"readme": "none",
"entryDocument": "index.html"
}
}