Skip to content

Commit

Permalink
[Tests] use pretest/posttest for linting/security.
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Mar 29, 2016
1 parent 2c1c6c7 commit 8f9c6c7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@
"license": "MIT",
"main": "index.js",
"scripts": {
"test": "npm run lint && npm run tests-only && npm run security",
"tests-only": "es-shim-api && npm run test:shimmed && npm run test:module",
"pretest": "npm run --silent lint",
"test": "npm run --silent tests-only",
"posttest": "npm run --silent security",
"tests-only": "es-shim-api && npm run --silent test:shimmed && npm run --silent test:module",
"test:shimmed": "node test/shimmed.js",
"test:module": "node test/index.js",
"coverage": "covert test/*.js",
"coverage-quiet": "covert test/*.js --quiet",
"lint": "npm run jscs && npm run eslint",
"lint": "npm run --silent jscs && npm run --silent eslint",
"eslint": "eslint test/*.js *.js",
"jscs": "jscs test/*.js *.js",
"security": "nsp check"
Expand Down

0 comments on commit 8f9c6c7

Please sign in to comment.