fix: move to separate config file and fix mocks docs (#3456)

This commit is contained in:
Jonas Kruckenberg 2022-02-14 20:15:08 +01:00 committed by GitHub
parent a1882b84b7
commit 79bf061e01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 1 deletions

View File

@ -19,7 +19,7 @@
"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",
"generate-docs": "typedoc src --githubPages false --readme none --entryDocument index.md --hideInPageTOC true --out docs --json docs/js-api.json --pretty false"
"generate-docs": "typedoc"
},
"repository": {
"type": "git",

27
tooling/api/typedoc.json Normal file
View File

@ -0,0 +1,27 @@
{
"entryPoints": [
"src/app.ts",
"src/cli.ts",
"src/clipboard.ts",
"src/dialog.ts",
"src/event.ts",
"src/fs.ts",
"src/globalShortcut.ts",
"src/http.ts",
"src/mocks.ts",
"src/notification.ts",
"src/os.ts",
"src/path.ts",
"src/process.ts",
"src/shell.ts",
"src/tauri.ts",
"src/updater.ts",
"src/window.ts"
],
"githubPages": false,
"readme": "none",
"hideInPageTOC": true,
"out": "docs",
"json": "docs/js-api.json",
"pretty": false
}