-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathtsconfig.json
30 lines (30 loc) · 1.17 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
// Root tsconfig to set the settings and power editor support for all TS files
{
"compileOnSave": true,
"compilerOptions": {
// do not compile anything; this file is just to configure type checking
// the compilation is configured in tsconfig.build.json
"noEmit": true,
// check JS files, but do not compile them => tsconfig.build.json
"allowJs": true,
"checkJs": true,
"skipLibCheck": true, // Don't report errors in 3rd party definitions
"noEmitOnError": true,
"declaration": true,
"outDir": "./dist/",
"removeComments": false,
"module": "Node16",
"moduleResolution": "node16",
"esModuleInterop": true,
// this is necessary for the automatic typing of the adapter config
"resolveJsonModule": true,
"strict": true,
"target": "es2022",
"sourceMap": true,
"inlineSourceMap": false,
"useUnknownInCatchVariables": false,
"types": ["@iobroker/types", "node"]
},
"include": ["src/**/*.ts", "src/*.d.ts"],
"exclude": ["dist/**", "node_modules/**", "eslint.config.mjs", "example/**/*", "src/lib/socket.io.js"]
}