fis-command-release
Advanced tools
Comparing version 0.5.5 to 0.5.6
{ | ||
"name" : "fis-command-release", | ||
"description" : "fis release command.", | ||
"version" : "0.5.5", | ||
"version" : "0.5.6", | ||
"author" : "FIS Team <fis@baidu.com>", | ||
@@ -6,0 +6,0 @@ "homepage" : "http://fis.baidu.com/", |
@@ -15,3 +15,3 @@ /* | ||
var timer = -1; | ||
var safePathReg = /^[:\\\/ _\-.\w]+$/i; | ||
var safePathReg = /[\\\/][_\-.\s\w]+$/i; | ||
function listener(path){ | ||
@@ -133,3 +133,3 @@ if(safePathReg.test(path)){ | ||
var now = Date.now(); | ||
fis.cache.clean('compile'); | ||
fis.compile.clean(); | ||
process.stdout.write((Date.now() - now + 'ms').green.bold); | ||
@@ -151,3 +151,10 @@ process.stdout.write('\n'); | ||
//merge standard conf | ||
fis.config.merge(fis.util.readJSON(__dirname + '/standard.json')); | ||
fis.config.merge({ | ||
modules : { | ||
optimizer : { | ||
js : 'uglify-js', | ||
css : 'clean-css' | ||
} | ||
} | ||
}); | ||
@@ -154,0 +161,0 @@ if(conf){ |
11486
7
224