-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtsconfig.json
More file actions
69 lines (69 loc) · 1.66 KB
/
tsconfig.json
File metadata and controls
69 lines (69 loc) · 1.66 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"package.json": [
"./package.json"
],
},
"skipLibCheck": true, //needed to get fork-ts-checker-webpack-plugin to work
"moduleResolution": "bundler",
"module": "ESNext",
"resolveJsonModule": true,
"jsx": "react-jsx",
"jsxImportSource": "@emotion/react",
"target": "ES2020",
"lib": [
"dom",
"es6",
"dom.iterable",
"scripthost",
"ES2020"
],
"types": [
"node",
"vitest/globals", // <--- not working? // this is paired with `globals:true` in the vitest config so we don't have to import vitest types
"vite/client", // Vite-injected env variables , Asset imports
"@emotion/react/types/css-prop"
],
"alwaysStrict": true,
"strictNullChecks": true,
"noImplicitAny": false,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedLocals": false,
"useDefineForClassFields": true, //mobx 6
//"experimentalDecorators": true,
//"emitDecoratorMetadata": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"esModuleInterop": true,
"outDir": "dist",
"plugins": [
{
"name": "typescript-styled-plugin", // adds intellisense for css / emotion
"lint": {
"validProperties": [
"label"
]
}
}
]
},
// "files": [
// "src/index.tsx",
// ],
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"test/**/*.ts",
"test/**/*.tsx",
"test/e2e/lametaRunner.unusedts",
"test/e2e/e2e.spekdisabled.unusedts"
],
"exclude": [
"dist",
"node_modules",
"**/*.spec.ts"
]
}