forked from hapi-swagger/hapi-swagger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 2.88 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
111
112
113
114
115
116
{
"name": "hapi-swagger",
"description": "A swagger documentation UI generator plugin for hapi",
"version": "14.0.0",
"author": "Glenn Jones",
"repository": {
"type": "git",
"url": "git://github.com/glennjones/hapi-swagger.git"
},
"main": "index.js",
"types": "index.d.ts",
"files": [
"lib",
"public",
"templates",
"index.js",
"index.d.ts"
],
"keywords": [
"api",
"docs",
"swagger",
"hapi",
"joi"
],
"scripts": {
"start": "node examples/simple.js",
"start:basic": "node examples/basic.js",
"start:debug": "node examples/debug.js",
"start:jwt": "node examples/jwt.js",
"start:dot:grouping": "node examples/dot-grouping.js",
"start:extend": "node examples/extend.js",
"start:group:ordered": "node examples/group-ordered.js",
"start:routes:simple": "node examples/group-ordered.js",
"test": "npm run test:lib",
"test:lib": "lab -L -t 98 -I '__core-js_shared__,core,CSS'",
"test:ts": "tsd",
"lint": "eslint .",
"test:cov:html": "lab -r html -o coverage.html",
"test:cov:coveralls": "npx lab -r lcov | npx coveralls",
"precommit": "npm test",
"postversion": "npm publish",
"postpublish": "git push origin --all; git push origin --tags"
},
"license": "MIT",
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@hapi/boom": "^9.1.0",
"@hapi/hoek": "^9.0.2",
"handlebars": "^4.5.3",
"http-status": "^1.0.1",
"json-schema-ref-parser": "^6.1.0",
"swagger-parser": "4.0.2",
"swagger-ui-dist": "^3.22.1"
},
"devDependencies": {
"@hapi/basic": "^6.0.0",
"@hapi/code": "^8.0.1",
"@hapi/good": "^8.2.3",
"@hapi/good-console": "^8.1.2",
"@hapi/h2o2": "^8.2.0",
"@hapi/hapi": "^20.0.0",
"@hapi/inert": "^6.0.1",
"@hapi/lab": "^22.0.5",
"@hapi/vision": "^6.0.0",
"@hapi/wreck": "^17.0.0",
"@types/hapi__hapi": "^18.2.6",
"babel-eslint": "^10.0.3",
"blipp": "^4.0.0",
"chalk": "^2.3.1",
"coveralls": "^3.0.2",
"eslint": "^6.4.0",
"eslint-config-prettier": "^6.0.0",
"good-squeeze": "^5.0.2",
"hapi-api-version": "^2.1.0",
"hapi-auth-bearer-token": "^6.1.1",
"hapi-auth-jwt2": "^8.0.0",
"husky": "^3.0.0",
"joi": "^17.2.0",
"js2xmlparser": "^4.0.0",
"jsonwebtoken": "^8.1.1",
"lint-staged": "^9.4.0",
"prettier": "^1.16.4",
"swagger-client": "^3.9.4",
"tsd": "^0.7.4"
},
"peerDependencies": {
"@hapi/hapi": "^20.0.0",
"joi": "17.x"
},
"lint-staged": {
"*.{js}": [
"eslint --fix",
"npm test",
"prettier --write",
"git add"
],
"*.{json,md,scss,yaml,yml}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"prettier": {
"printWidth": 120,
"singleQuote": true,
"trailingComma": "none"
}
}