Skip to content

Commit 56eb307

Browse files
committed
Simplify example
1 parent 652e06a commit 56eb307

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

examples/simple/README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,16 @@ npm install
4747
## Run the sample code
4848

4949
```sh
50-
npm run start
50+
node index.js
5151
```
5252

5353
Your output should look something like this:
5454

5555
```
56-
> simple@ start /path/to/dgraph-js/examples/simple
57-
> node index.js
58-
5956
people found: 1
6057
Alice
6158
6259
DONE!
6360
```
6461

65-
You can explore the source code in `index.js` file.
62+
You can explore the source code in the `index.js` file.

examples/simple/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
{
22
"name": "simple",
3-
"scripts": {
4-
"start": "node index.js"
5-
},
63
"dependencies": {
74
"dgraph-js": "^0.9.4-beta.1",
85
"grpc": "^1.7.2"

0 commit comments

Comments
 (0)