forked from adamgruber/mochawesome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (106 loc) · 2.44 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
104
105
106
{
"name": "mochawesome",
"version": "6.1.1",
"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/test.js --config test-functional/.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",
"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.0.0",
"diff": "^4.0.1",
"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": "^5.1.0",
"strip-ansi": "^6.0.0",
"uuid": "^7.0.3"
},
"peerDependencies": {
"mocha": ">=7"
},
"devDependencies": {
"cross-env": "^7.0.2",
"eslint": "^7.10.0",
"eslint-config-prettier": "^6.12.0",
"husky": "^4.3.0",
"lint-staged": "^10.4.0",
"mocha": "^8.1.3",
"nyc": "^15.1.0",
"prettier": "^2.1.2",
"proxyquire": "^2.1.0",
"should": "^13.2.3",
"sinon": "^9.0.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"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
}
}
}