-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
tsconfig.json
39 lines (39 loc) · 1.25 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
{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["es2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"emitDeclarationOnly": false,
"isolatedModules": true,
"noEmit": true,
"esModuleInterop": true,
"jsx": "react-jsx",
"jsxImportSource": "@emotion/react",
"declaration": true,
"strict": true,
"noErrorTruncation": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"preserveConstEnums": true,
"noFallthroughCasesInSwitch": true,
"baseUrl": ".",
"paths": {
"@hakit/core": ["packages/core/dist"],
"@hakit/components": ["packages/components/dist"],
"@core": ["packages/core/src"],
"@components": ["packages/components/src"],
"@stories/*": ["stories/*"],
"@hass-connect-fake": ["hass-connect-fake/index.tsx"],
"@hass-connect-fake/*": ["hass-connect-fake/*"],
"@hooks": ["packages/core/src/hooks"],
"@utils/*": ["packages/core/src/utils/*"],
"@typings": ["packages/core/src/types"],
"@mocks/*": ["hass-connect-fake/mocks/*"]
}
},
"exclude": ["node_modules", "node_modules/**", "dist"]
}