-
Notifications
You must be signed in to change notification settings - Fork 5
/
tsconfig.json
44 lines (44 loc) · 2.19 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
{
"compilerOptions": {
"target": "es2016" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
"lib": [
"es6"
] ,
"module": "commonjs" /* Specify what module code is generated. */,
"baseUrl": "." /* Specify the base directory to resolve non-relative module names. */,
"paths": {
"@core/*": ["./src/core/*"],
"@helpers/*":["./src/helpers/*"],
"@apps":["./src/apps/index.ts"],
"@apps/*":["./src/apps/*"],
"@test/*":["./src/tests/*"],
"@config":["./src/config.ts"],
"@app":["./src/app.ts"],
"@server":["./src/server.ts"],
"@database":["./src/database.ts"],
},
"resolveJsonModule": true /* Enable importing .json files. */,
"allowJs": true /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */,
"outDir": "build" /* Specify an output folder for all emitted files. */,
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */,
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
"strict": true /* Enable all strict type-checking options. */,
"noImplicitAny": true /* Enable error reporting for expressions and declarations with an implied 'any' type. */,
"strictNullChecks": true /* When type checking, take into account 'null' and 'undefined'. */,
"noImplicitThis": true /* Enable error reporting when 'this' is given the type 'any'. */,
"skipLibCheck": true /* Skip type checking all .d.ts files. */
},
"plugins":[
/* Transform paths in output .js files */
{
"transform":"typescript-transform-paths"
},
/* Transform paths in output .d.ts files */
{
"transform":"typescript-transform-paths",
"afterDeclarations": true
}
],
"include": ["./src/**/*", "./tests/**/*"],
"exclude": ["node_modules", ".vscode"]
}