diff --git a/package.json b/package.json index ee09bc4d06..3213b8556e 100644 --- a/package.json +++ b/package.json @@ -10,23 +10,23 @@ "benchmark": "concurrently -k -s first \"node ./examples/benchmark/simple.js\" \"autocannon -c 100 -d 30 -p 10 localhost:3000/\"", "benchmark:parser": "concurrently -k -s first \"node ./examples/benchmark/parser.js\" \"autocannon -c 100 -d 30 -p 10 -i ./examples/benchmark/body.json -H \"content-type:application/jsoff\" -m POST localhost:3000/\"", "build:validation": "node build/build-error-serializer.js && node build/build-validation.js", - "coverage": "borp --reporter test/test-reporter.mjs --coverage --check-coverage --lines 100", - "coverage:ci": "nyc --coverage-report=html --coverage-report=lcov borp --reporter test/test-reporter.mjs --coverage --check-coverage", - "coverage:ci-check-coverage": "borp --reporter ./test/test-reporter.mjs --coverage --check-coverage --lines 100", + "coverage": "borp --reporter=./test/test-reporter.mjs --coverage --check-coverage --lines 100", + "coverage:ci": "nyc --coverage-report=html --coverage-report=lcov borp --reporter=./test/test-reporter.mjs --coverage --check-coverage", + "coverage:ci-check-coverage": "borp --reporter=./test/test-reporter.mjs --coverage --check-coverage --lines 100", "lint": "npm run lint:eslint", "lint:fix": "eslint --fix", "lint:markdown": "markdownlint-cli2", "lint:eslint": "eslint", - "prepublishOnly": "cross-env PREPUBLISH=true borp --reporter ./test/test-reporter.mjs && npm run test:validator:integrity", + "prepublishOnly": "cross-env PREPUBLISH=true borp --reporter=./test/test-reporter.mjs && npm run test:validator:integrity", "test": "npm run lint && npm run unit && npm run test:typescript", "test:ci": "npm run unit && npm run test:typescript", "test:report": "npm run lint && npm run unit:report && npm run test:typescript", "test:validator:integrity": "npm run build:validation && git diff --quiet --ignore-all-space --ignore-blank-lines --ignore-cr-at-eol lib/error-serializer.js && git diff --quiet --ignore-all-space --ignore-blank-lines --ignore-cr-at-eol lib/configValidator.js", "test:typescript": "tsc test/types/import.ts --noEmit && tsd", "test:watch": "npm run unit -- --watch --coverage-report=none --reporter=terse", - "unit": "borp --reporter=test/test-reporter.mjs", - "unit:report": "nyc --coverage-report=html --reporter=cobertura borp --reporter test/test-reporter.mjs --coverage --check-coverage", - "citgm": "borp --reporter ./test/test-reporter.mjs --coverage --check-coverage --concurrency=1" + "unit": "borp --reporter=./test/test-reporter.mjs", + "unit:report": "nyc --coverage-report=html --reporter=cobertura borp --reporter=./test/test-reporter.mjs --coverage --check-coverage", + "citgm": "borp --reporter=./test/test-reporter.mjs --coverage --check-coverage --concurrency=1" }, "repository": { "type": "git",