@produck/duck-web-koa
Advanced tools
Comparing version 0.3.5 to 0.3.6
13
index.js
@@ -8,7 +8,10 @@ 'use strict'; | ||
app.use(ctx => { | ||
ctx.body = 'hello, world!\n\nProduct Meta\n\n'; | ||
ctx.body += JSON.stringify(product.meta, null, ' '); | ||
ctx.body += '\n\nProduct Components\n\n'; | ||
ctx.body += JSON.stringify(product.components, null, ' '); | ||
ctx.body += '\n\n--Duck Quack~'; | ||
ctx.body = [ | ||
'hello, world!', | ||
'Product Meta', | ||
JSON.stringify(product.meta, null, ' '), | ||
'Product Components', | ||
JSON.stringify(product.components, null, ' '), | ||
'--Duck Quack~', | ||
].join('\n\n'); | ||
}); | ||
@@ -15,0 +18,0 @@ } |
{ | ||
"name": "@produck/duck-web-koa", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"description": "", | ||
@@ -33,4 +33,4 @@ "keywords": [], | ||
"dependencies": { | ||
"@produck/duck": "^0.6.3", | ||
"@produck/duck-web": "^0.2.5", | ||
"@produck/duck": "^0.6.4", | ||
"@produck/duck-web": "^0.2.6", | ||
"debug": "^4.3.1" | ||
@@ -40,3 +40,4 @@ }, | ||
"koa": "2.11.0" | ||
} | ||
}, | ||
"gitHead": "3fc8784d7afa62784d49cf51bc5e346e4cc176e9" | ||
} |
4319
5
78
Updated@produck/duck@^0.6.4
Updated@produck/duck-web@^0.2.6