mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 12:42:44 +01:00
6bcd9e8baa
* ts-node support. debugging is slightly wonky as vscode will not allow breakpoints in modules that aren't bundle, yet. * apparently ts-node compilerOptions.path wasn't needed? on windows I could've sworn it was. * Cleaned up tsconfig.json a bit ( moved tsnode config to own file ). Fixed breakpoints for all modules under tsnode * Removed Microsoft Corp advert * Remove one more Microsoft Corp. ad Signed-off-by: Erkin Alp Güney <erkinalp9035@gmail.com> * Added `tsnode` npm script * Added `typescript-cached-transpile` package to help improve performance Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com>
15 lines
311 B
JSON
15 lines
311 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"ts-node": {
|
|
"transpileOnly": true,
|
|
"preferTsExts": true,
|
|
"require": ["tsconfig-paths/register"],
|
|
"compiler": "typescript-cached-transpile",
|
|
},
|
|
"compilerOptions": {
|
|
"rootDir": "../",
|
|
"baseUrl": "../",
|
|
"sourceRoot": "../",
|
|
"sourceMap": true,
|
|
}
|
|
} |