-
Notifications
You must be signed in to change notification settings - Fork 9
/
tsconfig.json
53 lines (50 loc) · 1.6 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"moduleResolution": "node",
"lib": [
"es6"
],
"rootDir": "src",
/* The source root path for debuggers to find the reference source code */
"sourceRoot": "./lib",
/* The output directory to write the translated JS and source map files to */
"outDir": "./lib",
/* Enable coloring and formatting TypeScript output for easier reading */
"pretty": true,
/* Generate .d.ts files alongside generated .js files */
"declaration": true,
/* Generate .d.ts files for source maps */
"declarationMap": true,
/* Create a source mapping debuggers can use to trace back from JS code to TS code */
"sourceMap": true,
/* Strict Type-Checking Options */
"strict": true,
/* Enable emit interop between CommonJS and ES modules via creation of namespace objects for all imports */
"esModuleInterop": true,
/* Advanced Options */
/* Remove comments from generated files to reduce size */
"removeComments": true,
/* Do not include unsued local variables in the generaed output */
"noUnusedLocals": true,
/* Enable strict checks for possible null values */
"strictNullChecks": true,
/* Skip type checking all .d.ts files */
"skipLibCheck": true,
/* Enable importing JSON files */
"resolveJsonModule": true,
},
"include": [
// these files will be target for linting, compiling and stuff
"src/**/*.ts",
"src/messageSpec/**/*.json",
"./node_modules/vscode/vscode.d.ts",
"./node_modules/vscode/lib/*"
],
"exclude": [
// don't include these files in the final artifact
"node_modules",
".vscode-test"
]
}