@fastify/swagger-ui
Version:
Serve Swagger-ui for Fastify
110 lines (109 loc) • 2.64 kB
JSON
{
"name": "@fastify/swagger-ui",
"version": "5.2.2",
"description": "Serve Swagger-ui for Fastify",
"main": "index.js",
"type": "commonjs",
"types": "types/index.d.ts",
"scripts": {
"lint": "eslint",
"lint:fix": "eslint --fix",
"prepare": "node scripts/prepare-swagger-ui",
"prepublishOnly": "npm run prepare",
"test": "npm run prepare && npm run unit && npm run typescript",
"test:dev": "npm run lint && npm run unit && npm run typescript",
"test:e2e:command": "node ./examples/example-e2e.js",
"test:e2e": "npx playwright test",
"test:e2e:ui": "npx playwright test --ui",
"typescript": "tsd",
"unit": "c8 --100 node --test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fastify/fastify-swagger-ui.git"
},
"keywords": [
"fastify",
"swagger",
"openapi",
"swagger-ui",
"serve",
"static"
],
"author": "Aras Abbasi <aras.abbasi@gmail.com>",
"contributors": [
{
"name": "Matteo Collina",
"email": "hello@matteocollina.com"
},
{
"name": "Manuel Spigolon",
"email": "behemoth89@gmail.com"
},
{
"name": "KaKa Ng",
"email": "kaka@kakang.dev",
"url": "https://github.com/climba03003"
},
{
"name": "Frazer Smith",
"email": "frazer.dev@icloud.com",
"url": "https://github.com/fdawgs"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/fastify/fastify-swagger-ui/issues"
},
"homepage": "https://github.com/fastify/fastify-swagger-ui#readme",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/fastify"
},
{
"type": "opencollective",
"url": "https://opencollective.com/fastify"
}
],
"devDependencies": {
"@apidevtools/swagger-parser": "^10.1.0",
"@fastify/basic-auth": "^6.0.0",
"@fastify/helmet": "^13.0.0",
"@fastify/pre-commit": "^2.1.0",
"@fastify/swagger": "^9.0.0",
"@playwright/test": "^1.43.1",
"@types/node": "^22.0.0",
"ajv": "^8.12.0",
"c8": "^10.1.2",
"eslint": "^9.17.0",
"fastify": "^5.0.0",
"fs-extra": "^11.2.0",
"neostandard": "^0.12.0",
"qs": "^6.12.1",
"swagger-ui-dist": "5.18.3",
"tsd": "^0.31.0"
},
"dependencies": {
"@fastify/static": "^8.0.0",
"fastify-plugin": "^5.0.0",
"openapi-types": "^12.1.3",
"rfdc": "^1.3.1",
"yaml": "^2.4.1"
},
"tsd": {
"directory": "types"
},
"pkg": {
"assets": [
"static/**/*"
]
},
"publishConfig": {
"access": "public"
},
"pre-commit": [
"lint",
"test"
]
}