Files
zkldi_Tachi/server/tsconfig.json
T
2022-12-01 21:10:23 +00:00

51 lines
1.1 KiB
JSON

// This is a base TSConfig for nice integration with IDEs such as VSCode.
// By default, VSCode reads `tsconfig.json` to know what it should typecheck
// in the editor. Since we want it to typecheck things like our tests, but
// we want to save disk space by not compiling them at runtime, we need two
// tsconfigs!
{
"extends": "../tsconfig.json",
"compilerOptions": {
"rootDir": "src",
"baseUrl": "src",
"outDir": "js",
"target": "ES2020",
"lib": [
"ES2019",
// This is necessary because -- for some unknown reason -- the AWS SDK
// depends on the DOM. Do people even run the AWS SDK in the browser?
// I hope not.
// "DOM"
],
"typeRoots": [
"@types",
"node_modules/@types",
],
"paths": {
"tachi-common": [
"../../common/src"
],
"tachi-common/*": [
"../../common/src/*"
]
},
"composite": true,
"tsBuildInfoFile": ".tsbuildinfo"
},
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules"
],
"references": [
{
"path": "../common"
}
],
"ts-node": {
"require": [
"tsconfig-paths/register"
]
}
}