-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
tsconfig.json
59 lines (58 loc) · 1.53 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
50
51
52
53
54
55
56
57
58
59
{
"compilerOptions": {
"baseUrl": "./src",
"paths": {
"src": ["dist/esm"]
},
"outDir": "dist/esm",
"module": "esnext",
"target": "es5",
"lib": ["es6", "dom", "es2016", "es2017"],
"jsx": "react",
"declaration": true,
"moduleResolution": "node",
"noUnusedLocals": true,
"noUnusedParameters": true,
"esModuleInterop": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"ignoreDeprecations": "5.0",
"allowSyntheticDefaultImports": true,
"typeRoots": ["./src/types/**/*", "./node_modules/@types"],
"types": ["node"],
"experimentalDecorators": true,
"sourceMap": false,
"skipDefaultLibCheck": true
},
"include": ["./src/**/*.ts", "./src/**/*.tsx", "./src/types/**/*"],
"exclude": [
"./node_modules",
"./examples",
"./.github",
"./.make",
"./dist",
"./test",
"**/*.stories.tsx"
]
}
// Previous config
// {
// "compilerOptions": {
// "sourceMap": false,
// "noImplicitAny": true,
// "module": "AMD",
// "strict": true,
// "target": "es2015",
// "allowJs": true,
// "lib": ["dom", "es2015", "es2017"],
// "noImplicitReturns": true,
// "esModuleInterop": true,
// "typeRoots": ["./src/types", "./node_modules/@types"],
// "moduleResolution": "node",
// "baseUrl": "./src"
// },
// "exclude": ["./node_modules", "./examples", "./.github", "./.make", "./dist", "./test"],
// "include": ["./src/**/*", "./src/types/*.d.ts"]
// }