UNPKG

hapi-swagger

Version:

A swagger documentation UI generator plugin for hapi

106 lines 2.93 kB
{ "name": "hapi-swagger", "description": "A swagger documentation UI generator plugin for hapi", "version": "17.3.2", "author": "Glenn Jones", "repository": { "type": "git", "url": "git://github.com/hapi-swagger/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" ], "license": "MIT", "engines": { "node": ">=16.0.0" }, "dependencies": { "@apidevtools/json-schema-ref-parser": "^11.7.0", "@hapi/boom": "^10.0.1", "@hapi/hoek": "^11.0.4", "handlebars": "^4.7.8", "http-status": "^1.7.4", "swagger-parser": "^10.0.3", "swagger-ui-dist": "^5.17.14" }, "devDependencies": { "@babel/core": "^7.25.2", "@babel/eslint-parser": "^7.25.1", "@hapi/basic": "^7.0.2", "@hapi/code": "^9.0.3", "@hapi/eslint-plugin": "^6.0.0", "@hapi/h2o2": "^10.0.4", "@hapi/hapi": "^21.3.10", "@hapi/inert": "^7.1.0", "@hapi/lab": "^25.3.1", "@hapi/vision": "^7.0.3", "@hapi/wreck": "^18.1.0", "blipp": "^4.0.2", "coveralls": "^3.1.1", "eslint": "^8.53.0", "eslint-config-prettier": "^9.1.0", "hapi-auth-bearer-token": "^8.0.0", "hapi-auth-jwt2": "^10.6.0", "husky": "^9.1.4", "is-ci": "^3.0.1", "joi": "^17.11.0", "js2xmlparser": "^5.0.0", "jsonwebtoken": "^9.0.2", "lint-staged": "^15.2.8", "prettier": "^3.3.3", "swagger-client": "^3.29.0", "tsd": "^0.31.1" }, "peerDependencies": { "@hapi/hapi": ">=20.x.x", "joi": "17.x" }, "lint-staged": { "*.{js}": [ "eslint --fix", "prettier --write" ], "*.{json,md,scss,yaml,yml}": [ "prettier --write" ] }, "prettier": { "printWidth": 120, "singleQuote": true, "trailingComma": "none" }, "scripts": { "start": "node examples/simple.js", "start:openapi": "node examples/simple-openapi.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": "pnpm test:lib", "test:lib": "lab -L -t 97 --leaks", "test:lib:debug": "lab --inspect-brk -S -I '__core-js_shared__,regeneratorRuntime,core,CSS,Symbol(undici.globalDispatcher.1)'", "test:ts": "tsd", "lint": "eslint .", "lint:fix": "eslint . --fix", "test:cov:html": "lab -r html -o coverage.html -I '__core-js_shared__,regeneratorRuntime,core,CSS,Symbol(undici.globalDispatcher.1)'", "precommit": "pnpm test", "postversion": "pnpm publish", "clean": "rm -rf node_modules coverage" } }