-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
110 lines (110 loc) · 2.65 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
107
108
109
110
{
"name": "mock-req-res",
"version": "1.2.1",
"description": "Extensible mock req / res objects for use in unit tests of Express controller and middleware functions.",
"author": "Dave Sag <davesag@gmail.com>",
"type": "commonjs",
"license": "MIT",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/davesag"
},
"main": "src/index.js",
"engines": {
"node": ">= 8.10.0"
},
"files": [
"CONTRIBUTING.md",
"src"
],
"directories": {
"lib": "src",
"test": "test"
},
"contributors": [
"Greg Garrett <gcgarrett@gmail.com>",
"John Keys <john@keyes.ie>",
"Sandor Turanszky <sandor.turanszky@gmail.com>"
],
"scripts": {
"eslint-check": "eslint --print-config src/index.js | eslint-config-prettier-check",
"lint": "eslint .",
"prettier": "prettier --write '**/*.{js,json,md}'",
"test": "npm run test:unit",
"test:unit": "NODE_ENV=test mocha ./test/unit/ --require ./test/unitTestHelper.js --recursive",
"test:unit:cov": "NODE_ENV=test nyc mocha ./test/unit/ --require ./test/unitTestHelper.js --recursive",
"snyk-protect": "snyk-protect"
},
"keywords": [
"express",
"mocks",
"testing",
"request",
"response"
],
"repository": {
"type": "git",
"url": "https://github.com/davesag/mock-req-res.git"
},
"bugs": {
"url": "https://github.com/davesag/mock-req-res/issues"
},
"homepage": "https://github.com/davesag/mock-req-res#readme",
"devDependencies": {
"ajv": "^8.12.0",
"chai": "^4.3.10",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-mocha": "^10.4.3",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.0.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"mocha": "^10.4.0",
"nyc": "^15.1.0",
"prettier": "^3.2.5",
"sinon": "^17.0.1",
"sinon-chai": "^3.5.0"
},
"peerDependencies": {
"sinon": "> 10.0.0"
},
"prettier": {
"semi": false,
"singleQuote": true,
"proseWrap": "never",
"arrowParens": "avoid",
"trailingComma": "none",
"printWidth": 100
},
"lint-staged": {
"**/*.{js,json,md}": [
"prettier --write"
]
},
"nyc": {
"check-coverage": true,
"per-file": true,
"lines": 100,
"statements": 100,
"functions": 100,
"branches": 100,
"include": [
"src/**/*.js"
],
"exclude": [
"index.js"
],
"reporter": [
"lcov",
"text"
],
"all": true,
"cache": true
},
"snyk": true
}