generated from typerefinery-ai/template-electron-vuex-vuetify
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
55 lines (55 loc) · 1.61 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
{
"extends": "@vue/tsconfig/tsconfig.web.json",
"compilerOptions": {
"noImplicitAny": false,
"target": "esnext",
"module": "esnext",
"strict": true,
"jsx": "preserve",
"moduleResolution": "node",
"skipLibCheck": true,
"esModuleInterop": true,
"preserveValueImports": true,
"isolatedModules": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"useDefineForClassFields": true,
"experimentalDecorators": true,
"suppressImplicitAnyIndexErrors": true,
"importsNotUsedAsValues": "preserve",
"importHelpers": true,
"sourceMap": true,
"baseUrl": ".",
"types": ["webpack-env", "vite/client", "vitest/globals", "node"],
"paths": {
"@/*": ["src/*"],
"@main/*": ["electron/app/main/*"],
"@preload/*": ["electron/app/preload/*"],
},
"lib": ["esnext", "dom", "dom.iterable", "scripthost"],
"typeRoots": [
"src/types",
"node_modules/@types",
],
},
"include": ["env.d.ts", "src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "electron/app/**/*.ts"],
"exclude": ["node_modules", "src/**/__tests__/*"],
"references": [
{
"path": "./tsconfig.vite-config.json"
},
{
"path": "./tsconfig.vitest.json"
}
],
"ts-node": {
"esm": true, /* ... Line to be added ... */
"experimentalSpecifierResolution": "node",
// these options are overrides used only by ts-node
// same as the --compilerOptions flag and the TS_NODE_COMPILER_OPTIONS environment variable
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "Node",
}
},
}