diff --git a/package.json b/package.json index 4d08fcf..506bb28 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "nsp": "=2.6.1", "postcss-cli": "=2.6.0", "sass-lint": "=1.9.1", + "snyk": "=1.20.0", "uglify-js": "=2.7.3" } } diff --git a/scripts/runtests b/scripts/runtests index fdf9461..8c6bc48 100755 --- a/scripts/runtests +++ b/scripts/runtests @@ -2,6 +2,7 @@ set -e +export PATH=node_modules/.bin:${PATH} export PATH=env/bin:${PATH} export DEBUG=true export IN_TEST=true @@ -15,3 +16,5 @@ npm test bandit -r project/ manage.py safety check +nsp check +snyk test