-
Notifications
You must be signed in to change notification settings - Fork 136
/
Copy pathpackage.json
107 lines (107 loc) · 2.75 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
{
"author": "Howard Abrams <[email protected]> (http://www.github.com/howardabrams)",
"name": "node-mocks-http",
"description": "Mock 'http' objects for testing Express, Next.js and Koa routing functions",
"version": "1.16.2",
"homepage": "https://github.com/eugef/node-mocks-http",
"bugs": {
"url": "https://github.com/eugef/node-mocks-http/issues"
},
"contributors": [
{
"name": "Howard Abrams",
"email": "[email protected]",
"url": "https://github.com/howardabrams"
},
{
"name": "Johnny Estilles",
"email": "[email protected]",
"url": "https://github.com/JohnnyEstilles"
},
{
"name": "Eugene Fidelin",
"email": "[email protected]",
"url": "https://github.com/eugef"
}
],
"license": "MIT",
"keywords": [
"mock",
"stub",
"dummy",
"nodejs",
"js",
"testing",
"test",
"http",
"http mock"
],
"repository": {
"type": "git",
"url": "git://github.com/eugef/node-mocks-http.git"
},
"main": "./lib/http-mock.js",
"types": "./lib/http-mock.d.ts",
"engines": {
"node": ">=14"
},
"dependencies": {
"accepts": "^1.3.7",
"content-disposition": "^0.5.3",
"depd": "^1.1.0",
"fresh": "^0.5.2",
"merge-descriptors": "^1.0.1",
"methods": "^1.1.2",
"mime": "^1.3.4",
"parseurl": "^1.3.3",
"range-parser": "^1.2.0",
"type-is": "^1.6.18"
},
"peerDependencies": {
"@types/express": "^4.17.21 || ^5.0.0",
"@types/node": "*"
},
"peerDependenciesMeta": {
"@types/express": {
"optional": true
},
"@types/node": {
"optional": true
}
},
"devDependencies": {
"@types/chai": "^4.3.11",
"@types/mocha": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"chai": "^4.2.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"husky": "^8.0.3",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^3.1.1",
"sinon": "^17.0.1",
"sinon-chai": "^3.5.0",
"ts-node": "^10.9.1",
"tsd": "^0.29.0",
"typescript": "^5.3.2"
},
"scripts": {
"test": "mocha",
"coverage": "nyc --reporter=html --reporter=lcov --reporter=text-summary mocha",
"format": "prettier --write --list-different .",
"lint": "eslint --fix .",
"check": "npm run check:format && npm run check:lint && npm run check:types",
"check:format": "prettier --list-different .",
"check:lint": "eslint .",
"check:types": "tsd --files ./test/**/*.test-d.ts .",
"postversion": "npm publish && git push --follow-tags",
"prepare": "husky install"
},
"files": [
"lib"
]
}