-
Notifications
You must be signed in to change notification settings - Fork 13
/
tsconfig.json
33 lines (29 loc) · 1.42 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
{
"compilerOptions": {
/* Basic Options */
"target": "es2022", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */
"module": "node16", /* Specify module code generation: 'none', commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"lib": [
"es2022",
"dom"
],
/* Build source files into a folder called `dist` to maintain clean directories, free of ts-generated files */
"outDir": "./dist",
/* Specify library files to be included in the compilation: */
"declaration": true, /* Generates corresponding '.d.ts' file. */
"sourceMap": true, /* Generates corresponding '.map' file. */
/* Strict Type-Checking Options */
"alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
/* Module Resolution Options */
"moduleResolution": "node16", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
"types": ["node"], /* Type declaration files to be included in compilation. */
"resolveJsonModule": true, /* Allows importing modules with a .json extension. */
"esModuleInterop": true
},
"exclude": [
"node_modules",
"./dist/**/*",
"./examples/**/*",
"./test/examples/**/*"
]
}