File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 33 "file" : " ./examples/openApiFiles/passportescaperoom.com.json" ,
44 "outputFolder" : " ./examples/generated/angular2" ,
55 "template" : " angular2" ,
6+ "mock-generator" : " json-server" ,
7+ "mock-output" : " examples/generated/mocks/json-server" ,
68 "saveFile" : " ./openApiFiles/passportescaperoom.com"
79}
Original file line number Diff line number Diff line change 8888 "husky" : {
8989 "hooks" : {
9090 "pre-commit" : " pretty-quick --staged" ,
91- "pre-push" : " npm run generate:examples && (git add examples/ && git commit -m 'Updated examples' || echo 'No example changes')"
91+ "pre-push" : " npm run generate:examples && (git checkout -- examples/generated/mocks/json-server/db.json && git add examples/ && git commit -m 'Updated examples' || echo 'No example changes')"
9292 }
9393 }
9494}
You can’t perform that action at this time.
0 commit comments