-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
57 lines (53 loc) · 2.59 KB
/
tsconfig.json
File metadata and controls
57 lines (53 loc) · 2.59 KB
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
56
57
{
"compilerOptions": {
/* Projects */
"incremental": true /* Save .tsbuildinfo files to allow for incremental compilation of projects. */,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
/* Language and Environment */
"target": "ESNext" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
"lib": [
"DOM",
"dom.iterable",
"ESNext"
] /* Specify a set of bundled library declaration files that describe the target runtime environment. */,
/* Modules */
"module": "NodeNext" /* Specify what module code is generated. */,
"moduleResolution": "NodeNext" /* Specify how TypeScript looks up a file from a given module specifier. */,
"baseUrl": "." /* Specify the base directory to resolve non-relative module names. */,
"paths": {
"@utils/*": ["src/utils/*"],
"@controller/*": ["src/controller/*"],
"@jwt/*": ["src/utils/jwt/*"],
"@middleware/*": ["src/middleware/*"],
"@dao/*": ["src/dao/*"],
"@schemas/*": ["src/schemas/*"],
"@service/*": ["src/service/*"]
} /* Specify a set of entries that re-map imports to additional lookup locations. */,
"allowImportingTsExtensions": true /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */,
"resolvePackageJsonExports": true /* Use the package.json 'exports' field when resolving package imports. */,
"allowArbitraryExtensions": true /* Enable importing files with any extension, provided a declaration file is present. */,
/* JavaScript Support */
"allowJs": true /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */,
"checkJs": true /* Enable error reporting in type-checked JavaScript files. */,
"outDir": "./build" /* Specify an output folder for all emitted files. */,
"removeComments": true /* Disable emitting comments. */,
"noEmit": true /* Disable emitting files from a compilation. */,
"strict": true /* Enable all strict type-checking options. */,
/* Completeness */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
},
"include": ["./src/**/*.ts", "register.js", "loader.js", "eslint.config.mjs"],
"exclude": ["node_modules"],
"ts-node": {
"esm": true,
"respawn": true,
"transpileOnly": true,
"compilerOptions": {
"module": "NodeNext"
}
}
}