initialize JSDoc

This commit is contained in:
Baipyrus 2024-02-10 22:00:34 +01:00
parent a14298fa66
commit 0edfd41c13
2 changed files with 9 additions and 1 deletions

7
.jsdoc.conf.json Normal file
View File

@ -0,0 +1,7 @@
{
"source": {
"include": ["."],
"includePattern": ".+\\.js(doc|x)?$",
"excludePattern": "node_modules"
}
}

View File

@ -8,7 +8,8 @@
"start": "node .", "start": "node .",
"deploy": "node deploy.js", "deploy": "node deploy.js",
"lint": "prettier --check . && eslint .", "lint": "prettier --check . && eslint .",
"format": "prettier --write ." "format": "prettier --write .",
"jsdoc": "jsdoc -c ./.jsdoc.conf.json -d docs/ -r ."
}, },
"author": "", "author": "",
"license": "ISC", "license": "ISC",