extract koa-mock-response and lws stack

This commit is contained in:
Lloyd Brookes
2016-06-22 22:24:11 +01:00
parent 6100ad6f6e
commit fec62b7253
6 changed files with 38 additions and 122 deletions

View File

@ -3,17 +3,4 @@
const LocalWebServer = require('../')
const ws = new LocalWebServer()
ws.addCors()
.addJson()
.addRewrite()
.addBodyParser()
.addBlacklist()
.addCache()
.addMimeOverride()
.addCompression()
.addLogging()
.addMockResponses()
.addSpa()
.addStatic()
.addIndex()
.listen()
ws.listen()