Merge pull request #2252 from thelounge/astorije/coverage-windows

Fix `yarn coverage` script on Windows
This commit is contained in:
Pavel Djundik 2018-03-20 09:45:14 +02:00 committed by GitHub
commit 453eab3a12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -13,7 +13,7 @@
"homepage": "https://thelounge.chat/", "homepage": "https://thelounge.chat/",
"scripts": { "scripts": {
"build": "webpack", "build": "webpack",
"coverage": "rm -rf .nyc_output/ && run-s test:{client,server} && nyc --nycrc-path=test/.nycrc-report report", "coverage": "run-s test:{client,server} && nyc --nycrc-path=test/.nycrc-report report",
"dev": "run-p watch start", "dev": "run-p watch start",
"lint:css": "stylelint --color \"client/**/*.css\"", "lint:css": "stylelint --color \"client/**/*.css\"",
"lint:js": "eslint . --report-unused-disable-directives --color", "lint:js": "eslint . --report-unused-disable-directives --color",

View file

@ -6,6 +6,5 @@
"reporter": [ "reporter": [
"json", "json",
"text-summary" "text-summary"
], ]
"clean": false
} }