Well could not get it to work 😭

This commit is contained in:
MrMasrozYTLIVE 2024-06-15 17:02:04 +03:00
parent 0f8d931927
commit 0259ce1605
8 changed files with 46 additions and 1 deletions

38
jsdoc.json Normal file
View File

@ -0,0 +1,38 @@
{
"tags": {
"allowUnknownTags": true
},
"source": {
"include": ["./src"],
"includePattern": ".js$",
"excludePattern": "(node_modules/|docs)"
},
"plugins": [
"plugins/markdown"
],
"opts": {
"encoding": "utf8",
"destination": "docs/",
"recurse": true,
"verbose": true,
"template": "better-docs"
},
"templates": {
"cleverLinks": false,
"monospaceLinks": false,
"search": true,
"better-docs": {
"name": "Sample Documentation",
"title": "Test", // HTML title
"css": "style.css",
"trackingCode": "tracking-code-which-will-go-to-the-HEAD",
"hideGenerator": false,
"navLinks": [
{
"label": "Git",
"href": "https://git.ssh.surf/MiTask/LinkUp-Bot-Lib"
}
]
}
}
}

View File

@ -1,12 +1,13 @@
{
"name": "linkup-bot-lib",
"version": "1.0.0",
"main": "Client.js",
"main": "src/Client.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"type": "module",
"license": "ISC",
"description": "",
"dependencies": {
@ -15,5 +16,8 @@
"hyperdrive": "^11.8.1",
"hyperswarm": "^4.7.15",
"serve-drive": "^5.0.8"
},
"devDependencies": {
"jsdoc": "^4.0.3"
}
}

View File

@ -12,6 +12,9 @@ import Hyperdrive from 'hyperdrive';
import fs from 'fs';
import ServeDrive from 'serve-drive';
/**
* @author Raven
*/
class Client extends EventEmitter {
constructor(botName) {
super();