Skip to content

Commit

Permalink
Added docs command
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronDDM committed Aug 11, 2023
1 parent a72abc0 commit 9247da0
Show file tree
Hide file tree
Showing 3 changed files with 208 additions and 1 deletion.
197 changes: 197 additions & 0 deletions package-lock.json

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

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"lint:prettier": "prettier --write '**/*.{ts,js}'",
"lint:prettier:check": "prettier --check '**/*.{ts,js}'",
"build": "tsc",
"prepare": "npm run build"
"prepare": "npm run build",
"build:docs": "typedoc --out docs"
},
"keywords": [
"email",
Expand Down Expand Up @@ -50,6 +51,8 @@
"jest": "^29.6.1",
"prettier": "^1.19.1",
"ts-jest": "^29.1.1",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.1",
"typescript": "^4.9.5"
},
"repository": {
Expand Down
7 changes: 7 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,12 @@
"resolveJsonModule": true,
"strict": true
},
"typedocOptions": {
"entryPoints": ["src/nylas.ts"],
"out": "docs",
"plugin": ["typedoc-plugin-missing-exports"],
"excludeExternals": true,
"excludePrivate": true,
},
"exclude": ["tests", "lib"]
}

0 comments on commit 9247da0

Please sign in to comment.