This commit is contained in:
niunai 2017-01-16 01:03:16 +08:00
parent 61415a16b6
commit bc8e995956
2 changed files with 2 additions and 5 deletions

View File

@ -21,7 +21,7 @@ gulp.task('copy', function(callback) {
exec('cd packages && git clone git@gitlab.qima-inc.com:fe/vue-seed.git ' + name, function(err, stdout, stderr) {
gutil.log('-------> 拉取 vue-seed');
exec('rm -rf ./' + name + '/.git', function(err, stdout, stderr) {
exec('rm -rf ./packages/' + name + '/.git', function(err, stdout, stderr) {
gutil.log('-------> ' + name + '组件初始化成功');
callback();
});

View File

@ -1,6 +1,3 @@
{
"sample": "./packages/sample/index.js",
"pangxie": "./packages/pangxie/index.js",
"pangxie1": "./packages/pangxie1/index.js",
"pangxie2": "./packages/pangxie2/index.js"
"sample": "./packages/sample/index.js"
}