Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules/
.DS_Store
npm-debug.log
cypress/videos
cypress/screenshots
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

## Install

Requires [Node](https://nodejs.org/en/) version 6 or above.
Requires [Node](https://nodejs.org/en/) version 8 or above (because of `json-server@0.15` peer dependency).

```sh
npm install --save json-server-reset
Expand Down Expand Up @@ -70,6 +70,14 @@ $ http :3000/todos
[]
```

### Debugging

Run this module with environment variable

```
DEBUG=json-server-reset
```

### Small print

Author: Gleb Bahmutov <gleb.bahmutov@gmail.com> © 2017
Expand Down
7 changes: 6 additions & 1 deletion cypress/fixtures/data.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{
"todos": []
"todos": [
{
"id": 1,
"title": "do something"
}
]
}
Loading