提交 30d322cd0ec97fcd1e74a3ccc06020cc942870fa

作者 fanwh
1 个父辈 014cf48b

change main file

@@ -16,15 +16,6 @@ app.phase(bootable.di.routes('./routes')); @@ -16,15 +16,6 @@ app.phase(bootable.di.routes('./routes'));
16 16
17 IoC.create('igloo/server').then(function (server) { 17 IoC.create('igloo/server').then(function (server) {
18 app.phase(server); 18 app.phase(server);
19 - // app.boot(function (err) {  
20 -  
21 - // if (err) {  
22 - // console.log(err);  
23 - // process.exit(-1);  
24 - // return;  
25 - // }  
26 -  
27 - // });  
28 }); 19 });
29 20
30 21
1 { 1 {
2 "name": "workai-express", 2 "name": "workai-express",
3 - "version": "0.0.0", 3 + "version": "0.0.1",
4 "private": true, 4 "private": true,
5 "scripts": { 5 "scripts": {
6 "start": "node --inspect ./app " 6 "start": "node --inspect ./app "
7 }, 7 },
8 - "main": "./lib", 8 + "main": "index.js",
9 "dependencies": { 9 "dependencies": {
10 "asyncawait": "^1.0.8", 10 "asyncawait": "^1.0.8",
11 "bluebird": "^3.5.4", 11 "bluebird": "^3.5.4",
注册登录 后发表评论