Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 5e80240

Browse files
committed
more tsconfig
1 parent 3c60df6 commit 5e80240

File tree

1 file changed

+28
-8
lines changed

1 file changed

+28
-8
lines changed

tsconfig.json

+28-8
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,37 @@
11
{
2+
"compileOnSave": false,
23
"compilerOptions": {
3-
"outDir": "dist", // where to put the compiled JS files
4-
"target": "ES2020", // which level of JS support to target
5-
"module": "CommonJS", // which system for the program AMD, UMD, System, CommonJS
4+
"incremental": false,
5+
"baseUrl": ".",
66
"moduleResolution": "node",
7-
"esModuleInterop": true,
8-
// Recommended: Compiler complains about expressions implicitly typed as 'any'
9-
"noImplicitAny": true,
7+
"module": "commonjs",
8+
"target": "es6",
9+
"lib": [
10+
"esnext"
11+
],
1012
"types": [
1113
"node", "mocha"
12-
]
14+
],
15+
"sourceMap": true,
16+
"declaration": true,
17+
"esModuleInterop": true,
18+
"alwaysStrict": true,
19+
"strictNullChecks": false,
20+
"noImplicitAny": false,
21+
"noImplicitReturns": true,
22+
"noImplicitThis": false,
23+
"noUnusedLocals": true,
24+
"resolveJsonModule": true,
25+
"downlevelIteration": true,
26+
"allowJs": false,
27+
"outDir": "dist",
28+
"rootDir": "src",
29+
"sourceRoot": "/",
30+
"mapRoot": "/"
1331
},
14-
"include": ["src"], // which files to compile
32+
"include": [
33+
"src"
34+
],
1535
"exclude": [
1636
"**/*.test.ts",
1737
"node_modules",

0 commit comments

Comments
 (0)