-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
executable file
·55 lines (51 loc) · 3.2 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
54
55
{
"compilerOptions": {
/* Projects */
"incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
"noUnusedLocals": false, /* Report errors when there are unused locals. */
"noUnusedParameters": false, /* Report errors when there are unused parameters. */
"baseUrl": ".",
/**
* The paths to the root of each project. This is used to resolve relative paths in the project.
* If the rootDir is not specified, the baseUrl is used to resolve relative paths.
*/
"paths": {
"@test/*": ["./src/test/*"], /* Resolve @test/* to @test/*.ts */
},
/* Language and Environment */
"target": "ES2017", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"lib": ["ES6"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
"experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
"emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
/* Modules */
"module": "commonjs", /* Specify what module code is generated. */
"rootDir": "./", /* Specify the root folder within your source files. */
"moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
"typeRoots": [
"./node_modules/@types",
"./src/@types", /* Specify a list of folders to be used for type definition files. */
"./src/@types/*"
], /* Specify multiple folders that act like './node_modules/@types'. */
"resolveJsonModule": true, /* Enable importing .json files. */
/* JavaScript Support */
"allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
/* Emit */
"outDir": "./dist", /* Specify an output folder for all emitted files. */
"removeComments": true, /* Disable emitting comments. */
"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. */
"declaration": true,
/* Type Checking */
"strict": true, /* Enable all strict type-checking options. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
},
"include": [
"src/**/*",
"test/**/*",
"src/.env.DoNotDelete.json",
],
"exclude": [
".env",
"node_modules"
]
}