aboutsummaryrefslogtreecommitdiffstats
path: root/tsconfig.json
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-10-07 13:04:03 +0300
committerJan Tuomi <jan@jantuomi.fi>2025-10-07 16:03:28 +0300
commitb0db0e55c0c400bc948a4934b0e4fddfbfdcca51 (patch)
tree0d29e8015178a0eaa52e9f821ad243c5435da99f /tsconfig.json
parentfe57e4996ec79267dffd77e503ef8164eceea229 (diff)
Rewrite to run as a traditional script, update deps
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json41
1 files changed, 13 insertions, 28 deletions
diff --git a/tsconfig.json b/tsconfig.json
index 3ee30e3..a4d9078 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,32 +1,17 @@
{
"compilerOptions": {
- "allowJs": true,
- "allowSyntheticDefaultImports": true,
- "lib": [
- "dom",
- "es2017"
- ],
- "rootDir": "src",
- "outDir": "build",
- "module": "commonjs",
- "moduleResolution": "node",
- "noUnusedLocals": true,
- "noUnusedParameters": true,
- "preserveConstEnums": true,
- "removeComments": true,
- "skipLibCheck": true,
- "sourceMap": true,
- "strict": true,
- "target": "esnext",
- "forceConsistentCasingInFileNames": true,
+ // This tsconfig is a minimal placeholder retained only for IDE tooling / editor intellisense.
+ // The build pipeline uses `bun build` (see package.json scripts) to produce a single
+ // CommonJS bundle at build/index.js suitable for running with plain `node`.
+ // No type-check step is performed as part of the build.
+ "target": "ES2020",
+ "module": "CommonJS",
+ "moduleResolution": "Node",
"esModuleInterop": true,
- "resolveJsonModule": true,
- "isolatedModules": true
+ "strict": true,
+ "skipLibCheck": true,
+ "resolveJsonModule": true
},
- "exclude": [
- "node_modules"
- ],
- "include": [
- "src/",
- ]
-} \ No newline at end of file
+ "include": ["src/**/*"],
+ "exclude": ["node_modules", "build"]
+}