This repository was archived by the owner on Aug 1, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 3 KB
/
package.json
File metadata and controls
118 lines (118 loc) · 3 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
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
111
112
113
114
115
116
117
118
{
"name": "swagger-routes-express",
"version": "3.3.3",
"description": "Connect Express route controllers to restful paths using a Swagger 2 or OpenAPI 3 definition file",
"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": ">= 6.4.0"
},
"files": [
"CONTRIBUTING.md",
"index.d.ts",
"src"
],
"directories": {
"lib": "src",
"test": "test"
},
"contributors": [
"David Pohan (https://github.com/pohy)",
"Rodrigo Feijao (https://github.com/rodrigofeijao)",
"Marco Rinck <https://github.com/marcorinck>",
"Magnus Petersen-Paaske <https://github.com/magnuspaaske>",
"Marius Korte <https://github.com/Owlbertz>"
],
"repository": {
"type": "git",
"url": "https://github.com/davesag/swagger-routes-express.git"
},
"bugs": {
"url": "https://github.com/davesag/swagger-routes-express/issues"
},
"homepage": "https://github.com/davesag/swagger-routes-express#readme",
"scripts": {
"eslint-check": "eslint --print-config src/index.js | eslint-config-prettier-check",
"lint": "eslint .",
"prettier": "prettier --write '**/*.{js,json,md,ts}'",
"test": "npm run test:unit",
"test:unit": "NODE_ENV=test NODE_PATH=. mocha ./test/unit/ --require ./test/unitTestHelper.js --recursive",
"test:unit:cov": "NODE_ENV=test NODE_PATH=. nyc mocha ./test/unit/ --require ./test/unitTestHelper.js --recursive",
"snyk-protect": "snyk-protect"
},
"keywords": [
"express",
"swagger",
"openapi",
"routes",
"controllers"
],
"dependencies": {
"semver": "^7.6.3"
},
"devDependencies": {
"@faker-js/faker": "^8.4.1",
"@types/express": "^4.17.21",
"ajv": "^8.17.1",
"chai": "^4.5.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-mocha": "^10.5.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^6.6.0",
"husky": "^9.1.7",
"lint-staged": "^15.3.0",
"mocha": "^10.8.2",
"mock-req-res": "^1.2.1",
"nyc": "^15.1.0",
"prettier": "^3.4.2",
"proxyquire": "^2.1.3",
"sinon": "^17.0.1",
"sinon-chai": "^3.5.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
},
"typings": "index.d.ts",
"snyk": true
}