-
-
Notifications
You must be signed in to change notification settings - Fork 206
/
Copy pathtsconfig.json
29 lines (27 loc) · 954 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
{
"compilerOptions": {
"target": "ES2020",
"noImplicitAny": false,
"noImplicitThis": true,
"strictNullChecks": true,
"strict": true,
"pretty": true,
"outDir": "./build",
"sourceMap": true,
"module": "NodeNext", //updating module from CommonJS. Olivia suggested at a previous time to use "NodeNext" as CommonJS is outdated
"allowJs": true,
"checkJs": false,
"jsx": "react-jsx",
"esModuleInterop": true,
"moduleResolution": "nodenext", //@see https://stackoverflow.com/questions/72638285/cannot-find-module-mongoose-with-typescript
"skipLibCheck": true,
"noEmitOnError": true,
"allowSyntheticDefaultImports": true,
"types": ["jest", "node"]
},
"exclude": [
"node_modules",
"dist"
],
"include": ["./electron/**/*", "./electron/**/*.json", "__tests__/jest.config.ts", "./settings.json", "./chronos_npm_package/**/*.ts", "./examples/**/**/**/*","src", "src/types"]
}