From 0edfd41c1324a099ceb56d0af619b23a2a5da1a9 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Sat, 10 Feb 2024 22:00:34 +0100 Subject: [PATCH] initialize JSDoc --- .jsdoc.conf.json | 7 +++++++ package.json | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .jsdoc.conf.json diff --git a/.jsdoc.conf.json b/.jsdoc.conf.json new file mode 100644 index 0000000..e7d5e38 --- /dev/null +++ b/.jsdoc.conf.json @@ -0,0 +1,7 @@ +{ + "source": { + "include": ["."], + "includePattern": ".+\\.js(doc|x)?$", + "excludePattern": "node_modules" + } +} diff --git a/package.json b/package.json index fde8e1f..349bbf7 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "start": "node .", "deploy": "node deploy.js", "lint": "prettier --check . && eslint .", - "format": "prettier --write ." + "format": "prettier --write .", + "jsdoc": "jsdoc -c ./.jsdoc.conf.json -d docs/ -r ." }, "author": "", "license": "ISC",