forked from metro-nom/node-expressmocks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.36 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 loc) · 2.36 KB
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
{
"name": "expressmocks",
"version": "0.2.3",
"description": "A small tool to support unit testing of express request handlers",
"main": "./lib/ExpressMocks.js",
"types": "./lib/ExpressMocks.d.ts",
"files": [
"lib/ExpressMocks.*"
],
"scripts": {
"build": "npm run compile && npm run lint && npm run test",
"compile": "tsc",
"test": "npm run lint && npm run coverage && npm run test:sample",
"lint": "eslint 'src/**/*.ts'",
"lint:fix": "eslint 'src/**/*.ts' --fix",
"coverage": "npm run coverage:run && npm run coverage:check",
"coverage:run": "nyc _mocha 'src/**/*Spec.ts'",
"coverage:check": "nyc check-coverage --statements 99 --branches 82 --functions 99 --lines 99",
"test:unit": "_mocha 'src/**/*Spec.ts'",
"test:sample": "cd test/sample && npm install && npm run test"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/metro-nom/node-expressmocks.git"
},
"keywords": [
"nodejs",
"express",
"sinon",
"mock",
"mocha"
],
"author": "Carsten Rohrbach <carsten.rohrbach@codecentric.de>",
"license": "MIT",
"bugs": {
"url": "https://github.com/metro-nom/node-expressmocks/issues"
},
"homepage": "https://github.com/metro-nom/node-expressmocks#readme",
"dependencies": {},
"peerDependencies": {
"express": "^4.0.0",
"sinon": ">=6.0.0"
},
"devDependencies": {
"@types/chai": "^4.1.4",
"@types/chai-as-promised": "^7.1.0",
"@types/data-driven": "0.0.30",
"@types/express": "^4.17.7",
"@types/mocha": "^5.2.5",
"@types/node": "^10.17.25",
"@types/sinon": "^5.0.1",
"@types/verror": "^1.10.3",
"@typescript-eslint/eslint-plugin": "^3.2.0",
"@typescript-eslint/parser": "^3.2.0",
"chai": ">=4.0.0",
"chai-as-promised": "^7.1.1",
"data-driven": "^1.4.0",
"eslint": "^7.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"express": "^4.17.1",
"http-status-codes": "^1.3.0",
"mocha": "^7.2.0",
"nyc": "^15.1.0",
"prettier": "^2.0.5",
"sinon": ">=6.0.0",
"ts-node": "^7.0.0",
"typescript": "^3.9.5",
"verror": "^1.10.0"
}
}