koa2-swagger-ui
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "koa2-swagger-ui", | ||
"version": "1.0.0", | ||
"description": "Utility to inject swagger the doc GUI into a node API", | ||
"version": "1.0.1", | ||
"description": "Swagger UI middleware for koa", | ||
"main": "lib/index.js", | ||
@@ -18,3 +18,5 @@ "scripts": { | ||
"swagger-ui", | ||
"koa" | ||
"koa", | ||
"koa2", | ||
"middleware" | ||
], | ||
@@ -27,9 +29,10 @@ "license": "MIT", | ||
"devDependencies": { | ||
"eslint": "^3.6.1", | ||
"eslint-config-airbnb-base": "^8.0.0", | ||
"eslint-plugin-import": "^2.0.0", | ||
"eslint": "^3.9.1", | ||
"eslint-config-airbnb-base": "^10.0.1", | ||
"eslint-plugin-import": "^2.2.0", | ||
"koa": "^2.0.0-alpha.7", | ||
"mocha": "^3.1.0", | ||
"nodemon": "^1.10.2", | ||
"supertest": "^2.0.0" | ||
"mocha": "^3.1.2", | ||
"mocha-eslint": "^3.0.1", | ||
"nodemon": "^1.11.0", | ||
"supertest": "^2.0.1" | ||
}, | ||
@@ -43,4 +46,4 @@ "peerDependencies": { | ||
"lodash.defaultsdeep": "^4.6.0", | ||
"swagger-ui": "^2.2.5" | ||
"swagger-ui": "^2.2.6" | ||
} | ||
} |
# koa2-swagger-ui | ||
[![NPM version][npm-image]][npm-url] | ||
[![build status][travis-img]][travis-url] | ||
[![Dependency Status][david-img]][david-url] | ||
[![Dependency Status][david-dev-img]][david-dev-url] | ||
[travis-img]: https://img.shields.io/travis/scttcper/koa2-swagger-ui.svg?style=flat-square | ||
[npm-image]: https://img.shields.io/npm/v/koa2-swagger-ui.svg | ||
[npm-url]: https://npmjs.org/package/koa2-swagger-ui | ||
[travis-img]: https://travis-ci.org/scttcper/koa2-swagger-ui.svg | ||
[travis-url]: https://travis-ci.org/scttcper/koa2-swagger-ui | ||
[david-img]: https://img.shields.io/david/dev/scttcper/koa2-swagger-ui.svg?style=flat-square | ||
[david-img]: https://img.shields.io/david/scttcper/koa2-swagger-ui.svg | ||
[david-url]: https://david-dm.org/scttcper/koa2-swagger-ui | ||
[david-dev-img]: https://img.shields.io/david/scttcper/koa2-swagger-ui.svg?style=flat-square | ||
[david-dev-url]: https://david-dm.org/scttcper/koa2-swagger-ui | ||
@@ -14,0 +14,0 @@ Host swagger ui at a given directory from your koa v2 app. |
@@ -0,4 +1,7 @@ | ||
const lint = require('mocha-eslint'); | ||
const app = require('../examples/example'); | ||
const request = require('supertest'); | ||
lint(['lib', 'test']); | ||
describe('koa2-swagger-ui', function() { | ||
@@ -5,0 +8,0 @@ it('should return index file', function(done) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2859876
58
30790
8
Updatedswagger-ui@^2.2.6