Files
express-prom-bundle/Makefile
2019-05-01 14:53:38 +02:00

20 lines
432 B
Makefile

.PHONY: coverage
test:
./node_modules/jasme/run.js
lint:
node_modules/eslint/bin/eslint.js src
node_modules/.bin/dtslint types
coverage:
node_modules/istanbul/lib/cli.js cover \
-i 'src/*' \
--include-all-sources \
--dir coverage \
node_modules/jasme/run.js
coveralls: coverage
ifndef COVERALLS_REPO_TOKEN
$(error COVERALLS_REPO_TOKEN is undefined)
endif
node_modules/coveralls/bin/coveralls.js < coverage/lcov.info