Install Node Security Platform globally
npm install -g nsp
Now to run it, drop into the root directory and type:
nsp check
Sample package.json - fill in the missing repository.url, bugs.url and homepage
{
"name": "template-js-dev-env",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "" // replace me with something like this: "git+https://github.com/stratospheres/template-js-dev-env.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "" // replace me with something like this: "https://github.com/stratospheres/template-js-dev-env/issues"
},
"homepage": "" // replace me with something like this: "https://github.com/stratospheres/template-js-dev-env#readme"
}