Skip to content

Commit

Permalink
fix: Move "nsp check" to npm "test"
Browse files Browse the repository at this point in the history
"npm postinstall" is executed not only, when this module is built,
but on every installation in other modules.
  • Loading branch information
prantlf committed Feb 7, 2018
1 parent f9bf7ea commit a68eac6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"node": ">= 6"
},
"scripts": {
"postinstall": "nsp check",
"test": "grunt",
"security": "nsp check",
"test": "npm run security && grunt",
"coverage": "grunt instrument && GRUNT_REG_VIZ_COVERAGE=1 grunt",
"coveralls": "test `node --version | cut -c 2` -eq 8 && npm run coverage && grunt coveralls",
"travis-deploy-once": "travis-deploy-once",
Expand Down

0 comments on commit a68eac6

Please sign in to comment.