Skip to content

Commit

Permalink
feat(graphql): add npm run demo script
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondfeng committed May 25, 2020
1 parent 0f0ef30 commit 8b59a24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions extensions/graphql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ npm install --save @loopback/graphql
## Try it out

```sh
npm run build
node dist/__tests__/fixtures/graphql-test/src/index.js
npm run demo
```

You should see the following messages:
Expand Down
1 change: 1 addition & 0 deletions extensions/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"integration": "lb-mocha \"dist/__tests__/integration/**/*.js\"",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"unit": "lb-mocha \"dist/__tests__/unit/**/*.js\"",
"demo": "npm run build && node dist/__tests__/fixtures/graphql-test/src/index.js",
"verify": "npm pack && tar xf loopback-graphql*.tgz && tree package && npm run clean"
},
"author": "IBM Corp.",
Expand Down

0 comments on commit 8b59a24

Please sign in to comment.