Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +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": "npm run unit -- --coverage-report=html",
"coverage:ci": "tap --coverage-report=html --coverage-report=lcov --allow-incomplete-coverage",
"coverage:ci-check-coverage": "tap replay",
"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: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 tap --allow-incomplete-coverage test/build/**.test.js && 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 -- --coverage-report=lcovonly && 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": "tap",
"unit:junit": "tap-mocha-reporter xunit < out.tap > test/junit-testresults.xml",
"unit:report": "tap --coverage-report=html --coverage-report=cobertura | tee out.tap",
"citgm": "tap --jobs=1 --timeout=120"
"unit": "borp --reporter=test/test-reporter.mjs",
"unit:report": "nyc --coverage-report=html --reporter=cobertura borp --reporter test/test-reporter.mjs",
"citgm": "borp --reporter ./test/test-reporter.mjs --concurrency=1"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -163,6 +162,7 @@
"ajv-i18n": "^4.2.0",
"ajv-merge-patch": "^5.0.1",
"autocannon": "^7.15.0",
"borp": "^0.17.0",
"branch-comparer": "^1.1.0",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
Expand All @@ -178,6 +178,7 @@
"markdownlint-cli2": "^0.13.0",
"neostandard": "^0.11.3",
"node-forge": "^1.3.1",
"nyc": "^17.1.0",
"proxyquire": "^2.1.3",
"simple-get": "^4.0.1",
"split2": "^4.2.0",
Expand Down
Loading