Comparing version 0.0.12 to 0.0.13
17
index.js
@@ -79,6 +79,7 @@ 'use strict'; | ||
var stdout = data.toString(); | ||
stdout.replace(/^\[\d{2}:\d{2}:\d{2}\]/gi, chalk.white('$&')); | ||
stdout.replace(/gulp-[a-z]+/gi, chalk.cyan.bold.underline('$&')); | ||
stdout.replace(/warning:/gi, chalk.yellow.bold.underline('$&')); | ||
stdout.replace(/error:/gi, chalk.red.bold.underline('$&')); | ||
stdout = stdout | ||
.replace(/^\[\d{2}:\d{2}:\d{2}\]/gi, chalk.white('$&')) | ||
.replace(/gulp-[a-z]+/gi, chalk.cyan.bold.underline('$&')) | ||
.replace(/warning:/gi, chalk.yellow.bold.underline('$&')) | ||
.replace(/error:/gi, chalk.red.bold.underline('$&')); | ||
console.log(stdout); | ||
@@ -108,9 +109,9 @@ }; | ||
} else if (program.development) { | ||
handle_task(run_task('development', path.join(__dirname, '../../'))); | ||
handle_task(spawn_task('development', path.join(__dirname, '../../'))); | ||
} else if (program.docs) { | ||
handle_task(run_task('docs', path.join(__dirname, '../../'))); | ||
handle_task(spawn_task('docs', path.join(__dirname, '../../'))); | ||
} else if (program.lint) { | ||
handle_task(run_task('lint', path.join(__dirname, '../../'))); | ||
handle_task(spawn_task('lint', path.join(__dirname, '../../'))); | ||
} else if (program.test) { | ||
handle_task(run_task('test', path.join(__dirname, '../../'))); | ||
handle_task(spawn_task('test', path.join(__dirname, '../../'))); | ||
} else if (program.generate) { | ||
@@ -117,0 +118,0 @@ console.log(chalk.underline.cyan.bold('Not yet implemented :(')); |
{ | ||
"name": "cml-cli", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "Simple wrapper for build scripts to stabilize API and to scaffold views and common patterns of cml-frontend boilerplate. Not for standalone usage.", | ||
"private": false, | ||
"bin": { | ||
@@ -7,0 +6,0 @@ "cml-cli": "./bin/cml-cli" |
143
6709