egg部署测试库

李栋 d28a6e8147 @deploy 更新基础镜像为LTS版本 %!s(int64=5) %!d(string=hai) anos
.vscode b813ea514d 初始版本 %!s(int64=5) %!d(string=hai) anos
app b813ea514d 初始版本 %!s(int64=5) %!d(string=hai) anos
config b813ea514d 初始版本 %!s(int64=5) %!d(string=hai) anos
test b813ea514d 初始版本 %!s(int64=5) %!d(string=hai) anos
.autod.conf.js b813ea514d 初始版本 %!s(int64=5) %!d(string=hai) anos
.eslintignore b813ea514d 初始版本 %!s(int64=5) %!d(string=hai) anos
.eslintrc b813ea514d 初始版本 %!s(int64=5) %!d(string=hai) anos
.gitignore b813ea514d 初始版本 %!s(int64=5) %!d(string=hai) anos
.travis.yml b813ea514d 初始版本 %!s(int64=5) %!d(string=hai) anos
Dockerfile d28a6e8147 @deploy 更新基础镜像为LTS版本 %!s(int64=5) %!d(string=hai) anos
README.md b813ea514d 初始版本 %!s(int64=5) %!d(string=hai) anos
appveyor.yml b813ea514d 初始版本 %!s(int64=5) %!d(string=hai) anos
jsconfig.json b813ea514d 初始版本 %!s(int64=5) %!d(string=hai) anos
package.json b813ea514d 初始版本 %!s(int64=5) %!d(string=hai) anos

README.md

egg-example

QuickStart

see egg docs for more detail.

Development

$ npm i
$ npm run dev
$ open http://localhost:7001/

Deploy

$ npm start
$ npm stop

npm scripts

  • Use npm run lint to check code style.
  • Use npm test to run unit test.
  • Use npm run autod to auto detect dependencies upgrade, see autod for more detail.