UNPKG

hapi-swagger-static

Version:

A small companion plugin for `hapi-swagger` or `hapi-swaggered` providing a static html documentation page as hapi route

62 lines (61 loc) 1.72 kB
{ "name": "hapi-swagger-static", "version": "3.1.0", "description": "A small companion plugin for `hapi-swagger` or `hapi-swaggered` providing a static html documentation page as hapi route", "main": "src/index.js", "types": "src/index.d.ts", "author": "Frank Thelen", "license": "MIT", "repository": { "type": "git", "url": "git://github.com/funny-bytes/hapi-swagger-static" }, "keywords": [ "hapi-swagger", "swagger", "hapi", "static", "html", "page" ], "scripts": { "lint": "eslint . --ignore-path ./.eslintignore", "test": "jest --coverage --detectOpenHandles test/*", "coveralls": "nyc report --reporter=lcovonly && cat ./coverage/lcov.info | coveralls", "preversion": "npm run lint && npm test" }, "engines": { "node": ">=20.x.x" }, "peerDependencies": { "@hapi/hapi": ">=17.x.x", "@hapi/vision": ">=5.x.x" }, "devDependencies": { "@hapi/hapi": "^21.3.12", "@hapi/inert": "^7.1.0", "@hapi/vision": "^7.0.3", "@types/hapi": "^18.0.14", "@types/hapi__hapi": "^21.0.0", "@types/hapi__inert": "^5.2.10", "@types/hapi__vision": "^5.5.8", "ansi-regex": "^6.1.0", "babel-eslint": "^10.1.0", "coveralls": "^3.1.1", "eslint": "^8.57.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-promise": "^7.2.1", "eslint-plugin-react": "^7.37.4", "eslint-plugin-should-promised": "^2.0.0", "hapi-swagger": "^17.3.2", "jest": "^29.7.0", "tmpl": ">=1.0.5" }, "dependencies": { "openapi2html": "^2.0.1", "swagger-parser": "^10.0.3", "validator": "^13.12.0" } }