mirror of
https://github.com/BreizhHardware/express-prom-bundle.git
synced 2026-01-18 16:27:28 +01:00
fix: update coverage command in Makefile and add .nyc_output to .gitignore
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,3 +3,4 @@ node_modules
|
||||
coverage
|
||||
/.vscode
|
||||
.env
|
||||
.nyc_output
|
||||
11
Makefile
11
Makefile
@@ -6,14 +6,7 @@ lint:
|
||||
npx eslint src
|
||||
npm run dtslint-next
|
||||
coverage:
|
||||
node_modules/istanbul/lib/cli.js cover \
|
||||
-i 'src/*' \
|
||||
--include-all-sources \
|
||||
--dir coverage \
|
||||
node_modules/jasme/run.js
|
||||
npx nyc --include src --reporter=lcov --reporter=text 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
|
||||
npx nyc report --reporter=text-lcov | npx coveralls
|
||||
|
||||
Reference in New Issue
Block a user