Skip to content

Commit

Permalink
[Tests] use pretest/posttest for linting/security; create `tests-only…
Browse files Browse the repository at this point in the history
…` script.
  • Loading branch information
ljharb committed Jul 5, 2016
1 parent e8dd157 commit d5794fa
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 @@ -6,7 +6,10 @@
"license": "MIT",
"main": "index.js",
"scripts": {
"test": "npm run lint && node --harmony test/index.js && npm run security",
"pretest": "npm run --silent lint",
"test": "npm run --silent tests-only",
"tests-only": "node --harmony test/index.js",
"posttest": "npm run --silent security",
"coverage": "covert test/*.js",
"coverage-quiet": "covert test/*.js --quiet",
"lint": "npm run jscs && npm run eslint",
Expand Down

0 comments on commit d5794fa

Please sign in to comment.