From 0b1090035a3cdcb892a0949a70b9fa66e48ed7b2 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 2 Oct 2016 11:58:46 +0100 Subject: [PATCH] Add security check for dependencies --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index def49ee..9a8db4d 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Container to host simple static applications using a node server, so files can be deployed using rsync", "main": "server.js", "scripts": { - "test": "eslint server.js", + "test": "eslint server.js && nsp check", "start": "node server.js" }, "engines": { @@ -27,6 +27,7 @@ }, "devDependencies": { "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" } }