diff --git a/package.json b/package.json index 74a9b3c27b6..10e58922277 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,8 @@ "wdio-lowlight": "terra wdio --themes clinical-lowlight-theme", "wdio-fusion": "terra wdio --themes orion-fusion-theme", "wdio": "terra wdio --themes terra-default-theme clinical-lowlight-theme orion-fusion-theme", - "wdio:docker": "terra wdio --disableSeleniumService=true --themes terra-default-theme clinical-lowlight-theme orion-fusion-theme" + "wdio:docker": "terra wdio --disableSeleniumService=true --themes terra-default-theme clinical-lowlight-theme orion-fusion-theme", + "npm:audit": "npm i --package-lock-only && npm audit --json > audit.json || true && if [ -s audit.json ]; then echo 'NPM audit vulnerabilities found:'; cat audit.json; fi" }, "devDependencies": { "@babel/cli": "^7.5.0",