Skip to content

Commit

Permalink
Add typedoc dev dependency to generate documentation from the index.d…
Browse files Browse the repository at this point in the history
….ts file
  • Loading branch information
schroffl committed Dec 20, 2023
1 parent fa087e8 commit e2ff7bd
Show file tree
Hide file tree
Showing 3 changed files with 207 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
tags
node_modules/
coverage
docs
203 changes: 202 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@
"types": "index.d.ts",
"directories": {},
"scripts": {
"test": "c8 -r html --100 ava"
"test": "c8 -r html --100 ava",
"docs": "typedoc ./index.d.ts"
},
"author": "schroffl",
"license": "MIT",
"devDependencies": {
"ava": "^4.0.1",
"benchmark": "^2.1.4",
"c8": "^7.11.3"
"c8": "^7.11.3",
"typedoc": "^0.25.4"
}
}

0 comments on commit e2ff7bd

Please sign in to comment.