UNPKG

2.52 kBJSONView Raw
1{
2 "name": "mochawesome",
3 "version": "7.1.0",
4 "description": "A gorgeous reporter for Mocha.js",
5 "scripts": {
6 "lint": "eslint src test*",
7 "test": "npm run lint && cross-env NODE_ENV=test nyc mocha --config test/.mocharc.json",
8 "test:fn": "mocha test-functional --config test-functional/.mocharc.json",
9 "test:par": "mocha test-parallel --parallel --config test-parallel/.mocharc.json",
10 "test:prog": "node ./test-programmatic",
11 "test:mem": "mocha test-functional/mem-test.js --config test-functional/.mocharc.json",
12 "test:ctx": "mocha test-functional/test-context.js --config test-functional/.mocharc.json",
13 "tdd": "npm run lint && cross-env NODE_ENV=test nyc mocha --config test/.mocharc.json --watch",
14 "prepack": "npm run test"
15 },
16 "author": "Adam Gruber",
17 "license": "MIT",
18 "repository": {
19 "type": "git",
20 "url": "https://github.com/adamgruber/mochawesome"
21 },
22 "keywords": [
23 "mocha",
24 "reporter",
25 "json",
26 "html"
27 ],
28 "main": "src/mochawesome.js",
29 "files": [
30 "addContext.js",
31 "register.js",
32 "src"
33 ],
34 "nyc": {
35 "include": [
36 "src/*.js"
37 ],
38 "reporter": [
39 "lcov",
40 "html",
41 "text-summary"
42 ],
43 "cache": false,
44 "check-coverage": true,
45 "lines": 99,
46 "statements": 99,
47 "functions": 100,
48 "branches": 90
49 },
50 "dependencies": {
51 "chalk": "^4.1.2",
52 "diff": "^5.0.0",
53 "json-stringify-safe": "^5.0.1",
54 "lodash.isempty": "^4.4.0",
55 "lodash.isfunction": "^3.0.9",
56 "lodash.isobject": "^3.0.2",
57 "lodash.isstring": "^4.0.1",
58 "mochawesome-report-generator": "^6.1.0",
59 "strip-ansi": "^6.0.1",
60 "uuid": "^8.3.2"
61 },
62 "peerDependencies": {
63 "mocha": ">=7"
64 },
65 "devDependencies": {
66 "cross-env": "^7.0.3",
67 "eslint": "^7.20.0",
68 "eslint-config-prettier": "^7.2.0",
69 "husky": "^5.0.9",
70 "lint-staged": "^10.5.4",
71 "mocha": "^8.3.0",
72 "nyc": "^15.1.0",
73 "prettier": "^2.2.1",
74 "proxyquire": "^2.1.0",
75 "should": "^13.2.3",
76 "sinon": "^9.2.4"
77 },
78 "lint-staged": {
79 "*.js": "eslint --cache --fix",
80 "*.{js,css,md}": "prettier --write"
81 },
82 "prettier": {
83 "arrowParens": "avoid",
84 "semi": true,
85 "singleQuote": true,
86 "tabWidth": 2,
87 "trailingComma": "es5"
88 },
89 "eslintConfig": {
90 "extends": [
91 "eslint:recommended",
92 "prettier"
93 ],
94 "env": {
95 "es6": true,
96 "mocha": true,
97 "node": true
98 },
99 "parserOptions": {
100 "ecmaVersion": 9
101 }
102 }
103}