Skip to content

Commit

Permalink
fix(testlab): add api docs during build
Browse files Browse the repository at this point in the history
See #2234
  • Loading branch information
raymondfeng authored and bajtos committed Jan 11, 2019
1 parent 1fd35f4 commit 5b5018d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/testlab/docs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"content": [
"index.ts",
"src/*.ts"
],
"codeSectionDepth": 4
}
1 change: 1 addition & 0 deletions packages/testlab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
},
"scripts": {
"build": "lb-tsc es2017 --outDir dist",
"build:apidocs": "lb-apidocs",
"clean": "lb-clean loopback-testlab*.tgz dist package api-docs",
"pretest": "npm run build",
"test": "lb-mocha \"dist/test\"",
Expand Down

0 comments on commit 5b5018d

Please sign in to comment.