Authored by xuqi

ci bug & port

@@ -156,7 +156,7 @@ class Build { @@ -156,7 +156,7 @@ class Build {
156 sh.cd(self.codePath); 156 sh.cd(self.codePath);
157 157
158 158
159 - var child = sh.exec('npm i --only=dev', { 159 + var child = sh.exec('npm i', {
160 silent: self.silent, 160 silent: self.silent,
161 async: true 161 async: true
162 }); 162 });
@@ -5,7 +5,7 @@ import path from 'path'; @@ -5,7 +5,7 @@ import path from 'path';
5 const env = process.env.NODE_ENV || 'development'; 5 const env = process.env.NODE_ENV || 'development';
6 6
7 const defaults = { 7 const defaults = {
8 - port: 9000, 8 + port: 6006,
9 codeDir: path.normalize(__dirname + '/../code/'), // 代码位置 9 codeDir: path.normalize(__dirname + '/../code/'), // 代码位置
10 buildDir: path.normalize(__dirname + '/../packages/'), // 静态资源包位置 10 buildDir: path.normalize(__dirname + '/../packages/'), // 静态资源包位置
11 dbDir: path.normalize(__dirname + '/../db'), 11 dbDir: path.normalize(__dirname + '/../db'),