mirror of
https://github.com/typicode/json-server.git
synced 2025-07-28 20:52:08 +08:00
Add husky dev-dependency
This commit is contained in:
@ -26,12 +26,14 @@
|
|||||||
"yargs": "^1.3.1"
|
"yargs": "^1.3.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"supertest": "~0.8.1",
|
"husky": "^0.6.1",
|
||||||
"mocha": "~1.14.0"
|
"mocha": "~1.14.0",
|
||||||
|
"supertest": "~0.8.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "mocha -R spec test",
|
"test": "mocha -R spec test",
|
||||||
"start": "node server.js"
|
"start": "node server.js",
|
||||||
|
"prepush": "npm t"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
Reference in New Issue
Block a user