Open i5ting opened 4 years ago
{
"name": "hello-koa2",
"version": "0.1.0",
"private": true,
"scripts": {
"start": "node bin/www",
"dev": "./node_modules/.bin/nodemon bin/www",
"prd": "pm2 start bin/www",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@koa/router": "^9.0.0",
"debug": "^4.1.1",
"koa": "^2.11.0",
"koa-bodyparser": "^4.3.0",
"koa-convert": "^1.2.0",
"koa-json": "^2.0.2",
"koa-logger": "^3.2.1",
"koa-onerror": "^4.1.0",
"koa-static": "^5.0.0",
"koa-views": "^6.2.1",
"pug": "^2.0.4"
},
"devDependencies": {
"nodemon": "^1.19.4"
}
}
TODO
koa-router已经更名为 @koa/router