Add node security check
This commit is contained in:
parent
44b3617df4
commit
fc14d9ce78
2 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue