mochawesome
Version:
A gorgeous reporter for Mocha.js
89 lines (88 loc) • 2.28 kB
JSON
{
"name": "mochawesome",
"version": "8.1.1",
"description": "A gorgeous reporter for Mocha.js",
"scripts": {
"lint": "eslint src test*",
"test": "npm run lint && c8 mocha --config test/.mocharc.json && npm run test:parity",
"test:parity": "node test-parity/run.js",
"test:parity:update": "node test-parity/run.js --update",
"test:parity:published": "node test-parity/published.js",
"test:fn": "mocha test-functional --config test-functional/.mocharc.json",
"test:par": "mocha test-parallel --parallel --config test-parallel/.mocharc.json",
"test:prog": "node ./test-programmatic",
"test:mem": "mocha test-functional/mem-test.js --config test-functional/.mocharc.json",
"test:ctx": "mocha test-functional/test-context.js --config test-functional/.mocharc.json",
"tdd": "npm run lint && c8 mocha --config test/.mocharc.json --watch",
"prepare": "husky"
},
"author": "Adam Gruber",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/adamgruber/mochawesome.git"
},
"keywords": [
"mocha",
"reporter",
"json",
"html"
],
"main": "src/mochawesome.js",
"engines": {
"node": ">=18"
},
"files": [
"addContext.js",
"register.js",
"src"
],
"c8": {
"include": [
"src/*.js"
],
"reporter": [
"lcov",
"html",
"text-summary"
],
"check-coverage": true,
"lines": 99,
"statements": 99,
"functions": 100,
"branches": 90
},
"dependencies": {
"diff": "^5.2.0",
"json-stringify-safe": "^5.0.1",
"mochawesome-report-generator": "^6.3.2"
},
"peerDependencies": {
"mocha": ">=8"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"c8": "^11.0.0",
"eslint": "^10.6.0",
"eslint-config-prettier": "^10.1.8",
"globals": "^17.7.0",
"husky": "^9.1.7",
"lint-staged": "^17.0.8",
"mocha": "^12.0.0",
"prettier": "^3.9.4",
"proxyquire": "^2.1.3",
"should": "^13.2.3",
"sinon": "^22.0.0"
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,css,md}": "prettier --write"
},
"prettier": {
"arrowParens": "avoid",
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5"
}
}