Added node-security-project checks
This projects' dependencies will now be checked against the node-security list of advisories. A build will fail if a CVE is detected. Change-Id: I9ec06fe00794f0b178389548ed0c88f6036b6e86
This commit is contained in:
@@ -5,7 +5,8 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "exit 0",
|
"test": "exit 0",
|
||||||
"lint": "eslint ./"
|
"lint": "eslint ./",
|
||||||
|
"prepublish": "nsp check"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -19,6 +20,7 @@
|
|||||||
"homepage": "http://www.openstack.org/",
|
"homepage": "http://www.openstack.org/",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^2.4.0",
|
"eslint": "^2.4.0",
|
||||||
"eslint-config-openstack": "2.0.0"
|
"eslint-config-openstack": "2.0.0",
|
||||||
|
"nsp": "^2.4.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user