npm and error messages

This commit is contained in:
2018-10-27 03:51:47 -05:00
parent 692ab70565
commit 025a403027
29601 changed files with 2759363 additions and 14 deletions
+23
View File
@@ -0,0 +1,23 @@
validate: lint test
test:
@./node_modules/.bin/mocha \
--require should \
--reporter spec
test-cov: lib-cov
@CONCAT_COV=1 ./node_modules/.bin/mocha \
--require should \
--reporter html-cov > coverage.html
lint:
@./node_modules/.bin/jshint \
--verbose \
--config .jshintrc \
lib/*.js \
test/*.js
lib-cov:
jscoverage lib lib-cov
.PHONY: test lint