-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
31 lines (31 loc) · 864 Bytes
/
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
{
"compilerOptions": {
"target": "ES2019", // Needs to have this target otherwise nullish coalescing operator (??) will not work
"useDefineForClassFields": true,
"module": "ESNext",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"baseUrl": "./src",
"sourceMap": true,
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently */
"outDir": "./dist",
/* Bundler mode */
"moduleResolution": "node",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
/* Types */
"types": ["cypress", "node"]
},
"files": ["src/index.ts"],
"include": ["src/**/*"],
"exclude": [
"node_modules",
"dist"
]
}