Well could not get it to work 😭
This commit is contained in:
parent
0f8d931927
commit
0259ce1605
38
jsdoc.json
Normal file
38
jsdoc.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -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();
|
Loading…
Reference in New Issue
Block a user