diff --git a/Makefile b/Makefile index c53cba86..b2ed06c4 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,11 @@ -test: +test: security @node test/ --integration $(TESTS) -test-unit: +test-unit: security @node test/ $(TESTS) -.PHONY: test test-unit +security: + @node_modules/.bin/nsp check + +.PHONY: test test-unit security diff --git a/package.json b/package.json index 0cbc9d5e..1862aad5 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ ], "main": "./index", "scripts": { - "test": "make test-unit; make test;" + "test": "make test;" }, "repository": { "type": "git", @@ -36,7 +36,8 @@ }, "license": "MIT", "devDependencies": { - "async": "~0.9.0" + "async": "~0.9.0", + "nsp": "^3" }, "dependencies": { "array-parallel": "~0.1.3",