-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
47 lines (47 loc) · 1.21 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
{
"compilerOptions": {
"strict": false,
"allowJs": true,
"allowUmdGlobalAccess": true, // make typescript work with ProvidePlugin
"allowSyntheticDefaultImports": true,
"jsx": "react-jsx",
"target": "esnext",
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"esModuleInterop": true,
// "lib": ["dom", "dom.iterable", "esnext"],
"experimentalDecorators": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"outDir": "dist",
"baseUrl": "./",
"rootDir": "./",
"declaration": true,
"declarationDir": "dist/esm/types",
"plugins": [
{
"name": "typescript-plugin-css-modules",
"options": {
"customMatcher": "\\.styl$"
}
}
],
"paths": {
"uilib": ["./src"],
"uilib/*": ["./src/*"],
"docs/*": ["./src/docs/*"]
},
"typeRoots": ["./node_modules/@types", "./tests/mocks"],
"types": ["jest", "node"]
},
"include": ["src", "tests", "types/global.d.ts"],
"exclude": [
"node_modules",
// "src/docs/**/*",
"src/docs/examples/**/*",
// "src/App",
// "src/docs"
],
"plugins": ["typescript-eslint-language-service"]
}