feat: set up test and run tests easier

This commit is contained in:
John Yeo
2025-10-20 10:32:26 +01:00
parent 54aafa5734
commit dc90d1dab4
21 changed files with 1165 additions and 216 deletions

25
scripts/tsconfig.json Normal file
View File

@@ -0,0 +1,25 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"lib": ["ES2022"],
"moduleResolution": "bundler",
"resolveJsonModule": true,
"allowJs": true,
"checkJs": false,
"outDir": "./dist",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"allowSyntheticDefaultImports": true,
"types": ["node"],
"baseUrl": ".",
"paths": {
"@server/*": ["../server/src/*"],
"@shared/*": ["../shared/*"]
}
},
"include": ["**/*.ts", "**/*.js"],
"exclude": ["node_modules", "dist"]
}