Skip to content

Commit

Permalink
[Tests] use pretest/posttest for linting/coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Sep 6, 2016
1 parent e209428 commit 3056731
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@
],
"main": "index",
"scripts": {
"test": "npm run lint && node test/index.js && npm run coverage-quiet",
"pretest": "npm run lint",
"test": "npm run --silent tests-only",
"posttest": "npm run coverage-quiet",
"tests-only": "node test",
"coverage": "covert test/index.js",
"coverage-quiet": "covert test/index.js --quiet",
"lint": "npm run jscs && npm run eslint",
Expand Down

0 comments on commit 3056731

Please sign in to comment.