Skip to content

Commit

Permalink
Added typedoc. Runnable with yarn build:docs
Browse files Browse the repository at this point in the history
Signed-off-by: AZMCode <[email protected]>
  • Loading branch information
AZMCode committed Aug 9, 2020
1 parent cea93ae commit 99fe157
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ package-lock.json
decoded-ws.json
auth_info2.json
lib
doc
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"test": "mocha --timeout 60000 -r ts-node/register src/*/Tests.ts",
"lint": "eslint '*/*.ts' --quiet --fix",
"build": "tsc",
"build:docs":"typedoc",
"example": "npx ts-node Example/example.ts",
"browser-decode": "npx ts-node src/WAConnection/BrowserMessageDecoding.ts"
},
Expand Down Expand Up @@ -54,6 +55,7 @@
"mocha": "^8.0.1",
"prettier": "^2.0.5",
"ts-node-dev": "^1.0.0-pre.49",
"typedoc": "^0.18.0",
"typescript": "^3.9.5"
}
}
5 changes: 5 additions & 0 deletions typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"inputFiles": ["./src"],
"mode": "modules",
"out": "doc"
}

0 comments on commit 99fe157

Please sign in to comment.