-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
23 lines (23 loc) · 1.01 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"name": "testease",
"version": "0.1.0",
"description": "A simple Mocha-inspired testing tool.",
"main": "testease.js",
"license": "MIT",
"type": "module",
"devDependencies": {
"c8": "^9.1.0"
},
"scripts": {
"clean": "rm -rf ./coverage && rm -f coverage.lcov",
"bench": "node ./self-exam.js -b",
"test": "node ./self-exam.js",
"coverage": "c8 -r=html --report-dir coverage/test --clean=false node ./self-exam.js",
"bench-coverage": "c8 -r=html --report-dir coverage/bench --clean=false node ./self-exam.js -b",
"silent-coverage": "c8 -r=html --report-dir coverage/silent --clean=false node ./self-exam.js -q",
"full-coverage": "npm run clean && npm run coverage && npm run bench-coverage && npm run silent-coverage",
"merge-coverage": "mkdir \"coverage/tmp\" && cp -r coverage/*/tmp/. coverage/tmp && c8 report -r=text-lcov > coverage.lcov",
"ci": "npm run full-coverage && npm run merge-coverage",
"report": "npm run ci && npx c8 report -r=html --report-dir coverage"
}
}