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 ed25637 commit 82c3c9d
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,15 +6,17 @@
"license": "MIT",
"main": "index.js",
"scripts": {
"test": "npm run lint && npm run tests-only && npm run security",
"tests-only": "npm run test:native && npm run test:why && npm run test:shimmed && npm run test:corejs",
"pretest": "npm run --silent lint",
"test": "npm run --silent tests-only",
"posttest": "npm run --silent security",
"tests-only": "npm run --silent test:native && npm run --silent test:why && npm run --silent test:shimmed && npm run --silent test:corejs",
"test:native": "node test/native",
"test:why": "node test/why",
"test:shimmed": "node test/shimmed",
"test:corejs": "node test/corejs",
"coverage": "covert test/native test/why",
"coverage-quiet": "covert test/native.js --quiet",
"lint": "npm run jscs && npm run eslint",
"lint": "npm run --silent jscs && npm run --silent eslint",
"jscs": "jscs *.js test/*.js",
"eslint": "eslint *.js test/*.js",
"security": "nsp check"
Expand Down

0 comments on commit 82c3c9d

Please sign in to comment.