Skip to content
This repository has been archived by the owner on May 18, 2022. It is now read-only.

Commit

Permalink
Edit configs to work better with docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mafrans committed May 1, 2020
1 parent a3e83cf commit 30e8763
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 56 deletions.
89 changes: 34 additions & 55 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"private": true,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "webpack --env.production"
"build": "webpack --env.production",
"docs": "npx typedoc"
},
"repository": {
"type": "git",
Expand Down
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": "docs"
}
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ module.exports = {
new TypedocWebpackPlugin({
name: 'Contoso',
mode: 'file',
out: './docs',
}, './src')
],
resolve: {
Expand Down

0 comments on commit 30e8763

Please sign in to comment.