Skip to content

Commit

Permalink
Use "test" script in pre-push hook (#68)
Browse files Browse the repository at this point in the history
Use "test" script in pre-push hook
  • Loading branch information
ilearnio authored Sep 17, 2019
2 parents 87d99e9 + 9a9d7de commit 6b886fc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"test": "npm run lint && npm run testonly",
"testonly": "NODE_ENV=test mocha test/specs.js",
"testonly-watch": "NODE_ENV=test mocha -w test/specs.js",
"lint": "standard",
"lint-test": "npm run lint && npm run test"
"lint": "standard"
},
"bugs": {
"url": "https://github.com/ilearnio/module-alias/issues"
Expand Down Expand Up @@ -46,7 +45,7 @@
},
"husky": {
"hooks": {
"pre-push": "npm run lint-test"
"pre-push": "npm run test"
}
}
}

0 comments on commit 6b886fc

Please sign in to comment.