Skip to content

Commit

Permalink
fix(model-api-builder): fix project setup so that tsdocs can be gener…
Browse files Browse the repository at this point in the history
…ated
  • Loading branch information
raymondfeng committed Jan 7, 2020
1 parent d4e42ab commit 18d732c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/model-api-builder/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

module.exports = require('./dist');
export * from './dist';
4 changes: 2 additions & 2 deletions packages/model-api-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-model-api-builder-plugin*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-model-api-builder*.tgz dist tsconfig.build.tsbuildinfo package",
"pretest": "npm run build",
"test": "",
"verify": "npm pack && tar xf loopback-model-api-builder-plugin*.tgz && tree package && npm run clean"
"verify": "npm pack && tar xf loopback-model-api-builder*.tgz && tree package && npm run clean"
},
"author": "IBM Corp.",
"copyright.owner": "IBM Corp.",
Expand Down

0 comments on commit 18d732c

Please sign in to comment.