UNPKG

koa2-swagger-ui

Version:
66 lines (65 loc) 1.59 kB
{ "name": "koa2-swagger-ui", "version": "5.11.0", "description": "Swagger UI middleware for koa", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "start": "ts-node test/example.ts", "lint": "eslint --ext .ts,.js .", "lint:fix": "eslint --ext .ts,.js --fix .", "prepare": "npm run build", "build": "tsc -p tsconfig.build.json", "postbuild": "cp lib/index.hbs dist && cp lib/favicon.png dist", "test": "vitest run", "test:watch": "vitest", "test:ci": "vitest run --coverage --reporter=default --reporter=junit --outputFile=./junit.xml" }, "dependencies": { "handlebars": "^4.7.8", "lodash": "^4.17.21", "read-pkg-up": "7.0.1" }, "devDependencies": { "@ctrl/eslint-config": "4.0.14", "@types/koa": "^2.15.0", "@types/koa-router": "7.4.8", "@types/lodash": "4.17.13", "@types/node": "22.9.0", "@types/supertest": "6.0.2", "@vitest/coverage-v8": "2.1.5", "koa": "2.15.3", "koa-router": "13.0.1", "supertest": "7.0.0", "swagger-ui-dist": "5.18.2", "ts-node": "10.9.2", "typescript": "5.6.3", "vitest": "2.1.5" }, "peerDependencies": { "@types/koa": "*" }, "release": { "branches": [ "master" ] }, "publishConfig": { "access": "public", "provenance": true }, "homepage": "https://github.com/scttcper/koa2-swagger-ui", "repository": "scttcper/koa2-swagger-ui", "keywords": [ "swagger", "docs", "swagger-ui", "koa", "koa2", "middleware" ], "license": "MIT" }