Add security check for dependencies

This commit is contained in:
Jake Howard 2016-10-02 11:58:46 +01:00
parent 90adfd04ae
commit 0b1090035a
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -4,7 +4,7 @@
"description": "Container to host simple static applications using a node server, so files can be deployed using rsync", "description": "Container to host simple static applications using a node server, so files can be deployed using rsync",
"main": "server.js", "main": "server.js",
"scripts": { "scripts": {
"test": "eslint server.js", "test": "eslint server.js && nsp check",
"start": "node server.js" "start": "node server.js"
}, },
"engines": { "engines": {
@ -27,6 +27,7 @@
}, },
"devDependencies": { "devDependencies": {
"eslint": "=1.9.0", "eslint": "=1.9.0",
"eslint-config": "git://github.com/dabapps/eslint-config.git" "eslint-config": "git://github.com/dabapps/eslint-config.git",
"nsp": "=2.6.1"
} }
} }