-
Notifications
You must be signed in to change notification settings - Fork 160
/
package.json
103 lines (103 loc) · 2.46 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "mochawesome",
"version": "7.1.3",
"description": "A gorgeous reporter for Mocha.js",
"scripts": {
"lint": "eslint src test*",
"test": "npm run lint && cross-env NODE_ENV=test nyc mocha --config test/.mocharc.json",
"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 && cross-env NODE_ENV=test nyc mocha --config test/.mocharc.json --watch",
"prepack": "npm run test"
},
"author": "Adam Gruber",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/adamgruber/mochawesome"
},
"keywords": [
"mocha",
"reporter",
"json",
"html"
],
"main": "src/mochawesome.js",
"files": [
"addContext.js",
"register.js",
"src"
],
"nyc": {
"include": [
"src/*.js"
],
"reporter": [
"lcov",
"html",
"text-summary"
],
"cache": false,
"check-coverage": true,
"lines": 99,
"statements": 99,
"functions": 100,
"branches": 90
},
"dependencies": {
"chalk": "^4.1.2",
"diff": "^5.0.0",
"json-stringify-safe": "^5.0.1",
"lodash.isempty": "^4.4.0",
"lodash.isfunction": "^3.0.9",
"lodash.isobject": "^3.0.2",
"lodash.isstring": "^4.0.1",
"mochawesome-report-generator": "^6.2.0",
"strip-ansi": "^6.0.1",
"uuid": "^8.3.2"
},
"peerDependencies": {
"mocha": ">=7"
},
"devDependencies": {
"cross-env": "^7.0.3",
"eslint": "^7.20.0",
"eslint-config-prettier": "^7.2.0",
"husky": "^5.0.9",
"lint-staged": "^10.5.4",
"mocha": "^8.3.0",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"proxyquire": "^2.1.0",
"should": "^13.2.3",
"sinon": "^9.2.4"
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,css,md}": "prettier --write"
},
"prettier": {
"arrowParens": "avoid",
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"prettier"
],
"env": {
"es6": true,
"mocha": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 9
}
}
}