From cd0bb458775f22f636d0ce82c8fce61d8405ec73 Mon Sep 17 00:00:00 2001 From: Alexander Jones Date: Tue, 21 Jan 2025 06:58:42 -0600 Subject: [PATCH] Add basic TypeScript config for TypeDoc --- tsconfig.json | 20 ++++++++++++++++++++ typedoc.json | 6 ++++++ 2 files changed, 26 insertions(+) create mode 100644 tsconfig.json create mode 100644 typedoc.json diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 00000000..0134bf99 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "module": "nodenext", + "allowJs": true, + "checkJs": true, + "outDir": "./dist", + "target": "es2017" + }, + "include": [ + "./*.js", + "./*.mjs", + "bids/**/*.js", + "common/**/*.js", + "parser/**/*.js", + "schema/**/*.js", + "spec_tests/**/*.js", + "tests/**/*.js", + "utils/**/*.js" + ] +} diff --git a/typedoc.json b/typedoc.json new file mode 100644 index 00000000..2155167c --- /dev/null +++ b/typedoc.json @@ -0,0 +1,6 @@ +{ + "entryPoints": ["./index.js"], + "out": "typedocs", + "includeVersion": true, + "excludeExternals": true +}