-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
39 lines (39 loc) · 1.08 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": {
"allowJs": true,
"module": "ES2020",
"target": "ES2019", // ES2020 breaks webpack4
"strict": true,
"lib": ["ESNext", "DOM"],
"isolatedModules": true,
"importsNotUsedAsValues": "error",
"skipLibCheck": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"noImplicitAny": true,
"sourceMap": true,
"outDir": "dist",
"moduleResolution": "node",
"resolveJsonModule": true,
"noEmit": true,
"jsxImportSource": "@emotion/react",
"jsx": "react-jsx",
"baseUrl": "./app",
"paths": {
"~/components/*": ["./renderer/components/*"],
"~/renderer/*": ["./renderer/*"],
"~/main/*": ["./main/*"],
"~/ipc/*": ["./ipc/*"],
"~/utils/*": ["./utils/*"],
"~/locales/*": ["./locales/*"]
}
},
"ts-node": {
// these options are overrides used only by ts-node
// same as our --compilerOptions flag and our TS_NODE_COMPILER_OPTIONS environment variable
"compilerOptions": {
"module": "commonjs"
}
},
"include": ["app/**/*", "_scripts/**/*"]
}