1
Fork 0

Add node security check

This commit is contained in:
Jake Howard 2016-11-26 16:01:14 +00:00
parent 44b3617df4
commit fc14d9ce78
2 changed files with 4 additions and 0 deletions

View file

@ -36,6 +36,7 @@
"nsp": "=2.6.1", "nsp": "=2.6.1",
"postcss-cli": "=2.6.0", "postcss-cli": "=2.6.0",
"sass-lint": "=1.9.1", "sass-lint": "=1.9.1",
"snyk": "=1.20.0",
"uglify-js": "=2.7.3" "uglify-js": "=2.7.3"
} }
} }

View file

@ -2,6 +2,7 @@
set -e set -e
export PATH=node_modules/.bin:${PATH}
export PATH=env/bin:${PATH} export PATH=env/bin:${PATH}
export DEBUG=true export DEBUG=true
export IN_TEST=true export IN_TEST=true
@ -15,3 +16,5 @@ npm test
bandit -r project/ manage.py bandit -r project/ manage.py
safety check safety check
nsp check
snyk test