Add generate-docs command to JS tooling

This commit is contained in:
Lorenzo Lewis
2022-01-19 13:46:24 +00:00
parent 1eec7282c7
commit f4695fc34c
2 changed files with 5 additions and 1 deletions

View File

@@ -62,3 +62,6 @@ typings/
debug.log
package-lock.json
.vscode/settings.json
# Documentation output
docs

View File

@@ -18,7 +18,8 @@
"lint-fix": "eslint --fix --ext ts \"./src/**/*.ts\"",
"lint:lockfile": "lockfile-lint --path yarn.lock --type yarn --validate-https --allowed-hosts npm yarn",
"format": "prettier --write --end-of-line=auto \"./**/*.{cjs,js,jsx,ts,tsx,html,css,json}\" --ignore-path .gitignore",
"format:check": "prettier --check --end-of-line=auto \"./**/*.{cjs,js,jsx,ts,tsx,html,css,json}\" --ignore-path .gitignore"
"format:check": "prettier --check --end-of-line=auto \"./**/*.{cjs,js,jsx,ts,tsx,html,css,json}\" --ignore-path .gitignore",
"generate-docs": "typedoc src --githubPages false --readme none --entryDocument index.md --hideInPageTOC true"
},
"repository": {
"type": "git",