-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
46 lines (46 loc) · 1.14 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
{
"extends": "@hughx/tsconfig",
"include": [
"src/**/*",
".eslintrc.js",
// "dev/redblue-video.stories.ts",
// "dev/redblue-video.test.ts"
],
"exclude": [
"_includes/**/*",
"_layouts/**/*",
"guide/**/*",
"homepage/**/*",
"node_modules/**/*",
"prototype/**/*",
"src/**/*.stories.js",
"src/**/*.stories.ts",
"src/**/*.stories.tsx",
"src/**/*.test.js",
"src/**/*.test.ts",
"src/**/*.test.tsx",
"src/types/**/*",
"vendor/**/*",
],
"compilerOptions": {
// Tells TypeScript to read JS files, as
// normally they are ignored as source files
"allowJs": false,
// Generate d.ts files
"declaration": true,
// This compiler run should
// only output d.ts files
"emitDeclarationOnly": false,
// Types should go into this directory.
// Removing this would place the .d.ts files
// next to the .js files
"outDir": "ts-out",
// go to js file when using IDE functions like
// "Go to Definition" in VSCode
"declarationMap": true,
"strictNullChecks": true,
"module": "ES2020",
"target": "ES2020",
"skipLibCheck": true,
}
}