File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11ENV_VAR = NODE_ENV=test
22
3- all : jshint
4- $(ENV_VAR ) ./node_modules/.bin/mocha --check-leaks --recursive ./test
3+ all : jshint tests vulnerabilities
54
65jshint :
76 $(ENV_VAR ) ./node_modules/.bin/jshint index.js lib/* test/*
87
98mocha :
109 $(ENV_VAR ) ./node_modules/.bin/mocha --check-leaks --watch --colors --growl --recursive ./test
1110
11+ tests :
12+ $(ENV_VAR ) ./node_modules/.bin/mocha --check-leaks --recursive ./test
13+
14+ vulnerabilities :
15+ ./node_modules/.bin/nsp audit-package
16+
1217.PHONY : all
Original file line number Diff line number Diff line change 2121 },
2222 "devDependencies" : {
2323 "mocha" : " latest" ,
24- "jshint" : " latest"
24+ "jshint" : " latest" ,
25+ "nsp" : " latest"
2526 },
2627 "scripts" : {
2728 "test" : " make"
You can’t perform that action at this time.
0 commit comments