-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
79 lines (79 loc) · 2.89 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
{
"name": "expressmocks",
"version": "2.0.0",
"description": "A small tool to support unit testing of express request handlers",
"main": "lib/cjs/ExpressMocks.js",
"module": "lib/esm/ExpressMocks.js",
"types": "lib/cjs/ExpressMocks.d.ts",
"files": [
"lib/*/ExpressMocks.*"
],
"scripts": {
"build": "npm run compile && npm run lint && npm run test",
"compile": "npm run compile:es6 && npm run compile:cjs",
"compile:es6": "tsc -p tsconfig-es6.json",
"compile:cjs": "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": "npm run test:cjs-sample && npm run test:esm-sample",
"test:cjs-sample": "cd test/cjs-sample && npm ci && npm run test",
"test:esm-sample": "cd test/esm-sample && npm ci && npm run test",
"sample-installs": "cd test/cjs-sample && npm install && cd ../esm-sample && npm install",
"cjs": "cd test/cjs-sample && npm run",
"esm": "cd test/esm-sample && npm run"
},
"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",
"peerDependencies": {
"express": "^4.0.0",
"sinon": ">=10.0.0"
},
"devDependencies": {
"@types/chai": "^4.3.4",
"@types/chai-as-promised": "^7.1.5",
"@types/data-driven": "0.0.30",
"@types/express": "^4.17.14",
"@types/serve-static": "^1.15.0",
"@types/mocha": "^10.0.1",
"@types/node": "^16.18.6",
"@types/sinon": "^10.0.13",
"@types/verror": "^1.10.6",
"@typescript-eslint/eslint-plugin": "^5.45.1",
"@typescript-eslint/parser": "^5.45.1",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"data-driven": "^1.4.0",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"express": "^4.18.2",
"http-status-codes": "^2.2.0",
"mocha": "^10.1.0",
"nyc": "^15.1.0",
"prettier": "^2.8.0",
"sinon": "^10.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.3",
"verror": "^1.10.1"
}
}