File tree Expand file tree Collapse file tree 6 files changed +813
-1193
lines changed Expand file tree Collapse file tree 6 files changed +813
-1193
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ node_modules/
22.DS_Store
33npm-debug.log
44cypress /videos
5+ cypress /screenshots
Original file line number Diff line number Diff line change 1212
1313## Install
1414
15- Requires [ Node] ( https://nodejs.org/en/ ) version 6 or above.
15+ Requires [ Node] ( https://nodejs.org/en/ ) version 8 or above (because of ` json-server@0.15 ` peer dependency) .
1616
1717``` sh
1818npm install --save json-server-reset
@@ -70,6 +70,14 @@ $ http :3000/todos
7070[]
7171```
7272
73+ ### Debugging
74+
75+ Run this module with environment variable
76+
77+ ```
78+ DEBUG=json-server-reset
79+ ```
80+
7381### Small print
7482
7583Author: Gleb Bahmutov < ; gleb.bahmutov@gmail.com > ; © ; 2017
Original file line number Diff line number Diff line change 11{
2- "todos" : []
2+ "todos" : [
3+ {
4+ "id" : 1 ,
5+ "title" : " do something"
6+ }
7+ ]
38}
You can’t perform that action at this time.
0 commit comments