-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
34 lines (34 loc) · 982 Bytes
/
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
{
"compilerOptions": {
"outDir": "./dist/lib",
"module": "esnext",
"target": "ES2015",
"lib": ["es5", "es6", "es7", "es2017", "dom"],
"sourceMap": true,
"allowJs": false,
"jsx": "react",
"moduleResolution": "node",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
"@comp/*": ["src/components/*"],
"@utils/*": ["src/utils/*"],
},
"rootDirs": ["src", "src/stories"],
"typeRoots": ["./types", "./node_modules/@types"],
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": true,
"declaration": true,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true
},
"types": ["node"],
"include": ["src/**/*"],
"exclude": ["node_modules", "src/**/*.test.tsx", "src/**/*.story.tsx"]
}