diff --git a/package.json b/package.json index 11a5b0d..384fa63 100644 --- a/package.json +++ b/package.json @@ -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",