diff --git a/package.json b/package.json index 8a7b6b3..2e265bb 100644 --- a/package.json +++ b/package.json @@ -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",