mocha-badge-generator
Version:
Mocha reporter which outputs badge with the number of tests passed and failed.
83 lines (82 loc) • 2.28 kB
JSON
{
"name": "mocha-badge-generator",
"version": "0.11.0",
"description": "Mocha reporter which outputs badge with the number of tests passed and failed.",
"type": "module",
"main": "src/index.cjs",
"bin": {
"mbg": "./bin/mbg.js",
"mocha-badge-generator": "./bin/mbg.js"
},
"scripts": {
"build-cli": "clp --config=bin/optionDefinitions.js cli.svg",
"bin": "./bin/mbg.js",
"lint": "eslint --ext=js,cjs .",
"json-test-report": "mocha --reporter json test > test/fixtures/test-report-mbg.json",
"c8": "c8 --all --reporter=text mocha",
"test": "npm run lint && npm run c8",
"test-watch": "mocha -w",
"cov": "c8 --all --reporter=text npm test",
"coverage": "c8 --all --reporter=lcov npm test"
},
"c8": {
"exclude": [
".eslintrc.cjs",
"coverage",
"test"
]
},
"repository": {
"type": "git",
"url": "https://github.com/ianpogi5/mocha-badge-generator.git"
},
"keywords": [
"mocha",
"reporter",
"badge",
"shield",
"svg"
],
"author": "Ian Dela Cruz <iandc76@gmail.com>",
"contributors": [
"Brett Zamir"
],
"engines": {
"node": ">=14.17.0",
"npm": ">=8.3.0"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/ianpogi5/mocha-badge-generator/issues"
},
"homepage": "https://github.com/ianpogi5/mocha-badge-generator",
"dependencies": {
"@rpl/badge-up": "3.0.0",
"command-line-basics": "^2.0.1",
"es6-template-strings": "^2.0.1",
"fast-glob": "^3.3.2"
},
"devDependencies": {
"c8": "^8.0.1",
"chai": "^4.3.10",
"command-line-publish": "^1.1.0",
"eslint": "^8.53.0",
"mocha": "^10.2.0",
"svg2png": "^4.1.1"
},
"prettier": {
"printWidth": 80,
"tabWidth": 4,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"arrowParens": "avoid"
},
"overrides": {
"nth-check": "^2.0.1",
"package-json": "^8.1.0",
"uuid": "^7.0.3"
}
}