mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Merge pull request #104 from AZMCode/master
Added typedoc. Runnable with yarn build:docs
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -13,3 +13,4 @@ package-lock.json
|
|||||||
decoded-ws.json
|
decoded-ws.json
|
||||||
auth_info2.json
|
auth_info2.json
|
||||||
lib
|
lib
|
||||||
|
doc
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
"test": "mocha --timeout 60000 -r ts-node/register src/*/Tests.ts",
|
"test": "mocha --timeout 60000 -r ts-node/register src/*/Tests.ts",
|
||||||
"lint": "eslint '*/*.ts' --quiet --fix",
|
"lint": "eslint '*/*.ts' --quiet --fix",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
|
"build:docs":"typedoc",
|
||||||
"example": "npx ts-node Example/example.ts",
|
"example": "npx ts-node Example/example.ts",
|
||||||
"browser-decode": "npx ts-node src/WAConnection/BrowserMessageDecoding.ts"
|
"browser-decode": "npx ts-node src/WAConnection/BrowserMessageDecoding.ts"
|
||||||
},
|
},
|
||||||
@@ -54,6 +55,7 @@
|
|||||||
"mocha": "^8.0.1",
|
"mocha": "^8.0.1",
|
||||||
"prettier": "^2.0.5",
|
"prettier": "^2.0.5",
|
||||||
"ts-node-dev": "^1.0.0-pre.49",
|
"ts-node-dev": "^1.0.0-pre.49",
|
||||||
|
"typedoc": "^0.18.0",
|
||||||
"typescript": "^3.9.5"
|
"typescript": "^3.9.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
5
typedoc.json
Normal file
5
typedoc.json
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"inputFiles": ["./src"],
|
||||||
|
"mode": "modules",
|
||||||
|
"out": "doc"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user