Skip to content

Commit

Permalink
add nsp checks
Browse files Browse the repository at this point in the history
  • Loading branch information
aheckmann committed Dec 28, 2017
1 parent 2507d59 commit e8cfed6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
9 changes: 6 additions & 3 deletions 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
5 changes: 3 additions & 2 deletions package.json
Expand Up @@ -28,15 +28,16 @@
],
"main": "./index",
"scripts": {
"test": "make test-unit; make test;"
"test": "make test;"
},
"repository": {
"type": "git",
"url": "https://github.com/aheckmann/gm.git"
},
"license": "MIT",
"devDependencies": {
"async": "~0.9.0"
"async": "~0.9.0",
"nsp": "^3"
},
"dependencies": {
"array-parallel": "~0.1.3",
Expand Down

0 comments on commit e8cfed6

Please sign in to comment.