-
Notifications
You must be signed in to change notification settings - Fork 6
/
tsconfig.json
41 lines (34 loc) · 1.1 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
{
"compilerOptions": {
// module code generation
"module": "commonjs",
"esModuleInterop": false,
// ECMAScript target version:
"target": "es6",
// enables --noImplicitAny, --noImplicitThis, --alwaysStrict, --strictBindCallApply, --strictNullChecks, --strictFunctionTypes and --strictPropertyInitialization.
"strict": true,
"strictPropertyInitialization": false,
// determine how modules are resolved
"moduleResolution": "node",
// generate files to revert combined/minified file back to original states
"sourceMap": true,
// redirect output structure to the directory
"outDir": "dist",
// base directory to resolve non-relative module names
"baseUrl": ".",
// mapping entries for module names to locations
"paths": {
"*": [
"node_modules/",
"src/constants/*"
]
}
},
"include": [
"src/**/*"
],
// exclude npm modules during compilations
"exclude": [
"node_modules"
]
}