aboutsummaryrefslogtreecommitdiff
path: root/tsconfig.json
diff options
context:
space:
mode:
authorAutumn <git@autumnfo.rest>2026-05-11 17:28:55 +0100
committerAutumn <git@autumnfo.rest>2026-05-11 17:28:55 +0100
commitfb2b0b965e13b4c33a27421d03e0e87978fda4ab (patch)
treee6008c8e77c6632a676d2ba2db3760924e8b1abd /tsconfig.json
parent4fd296726a3778a2488a067bf0da7add119cdf1a (diff)
[meta] setup NodeJS project
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 0000000..7edbc7b
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,18 @@
+{
+ "compilerOptions": {
+ "rootDir": "./src",
+ "outDir": "./dist",
+
+ "lib": [ "esnext" ],
+ "target": "ESNext",
+ "module": "CommonJS",
+ "types": [ "node" ]
+ },
+
+ "ts-node": {
+ "esm": false,
+ "transpileOnly": true,
+
+ "require": [ "tsconfig-paths/register" ]
+ }
+}