-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
34 lines (28 loc) · 853 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
30
31
32
33
34
/** @see - https://www.typescriptlang.org/tsconfig */
{
"include": ["src/**/*.ts"],
"compilerOptions": {
// project options
"target": "ES2020",
"lib": ["ES2020"],
"module": "CommonJS",
"incremental": true,
"sourceMap": true,
"noEmitOnError": true,
// checks
"strict": true,
"forceConsistentCasingInFileNames": true,
// module resolution
"importHelpers": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
// local
// only compile files inside `src/`
// compile `src/**/foo.ts` to `out/build/**/foo.js`, without the `src/` directory
// generate temporary .tsbuildinfo file directly into `out/`
"rootDir": "src",
"outDir": "out/build",
"tsBuildInfoFile": "out/.tsbuildinfo",
"typeRoots" : ["./node_modules/@types", "./src/typings"]
},
}