summaryrefslogtreecommitdiffstats
path: root/node_modules/kareem/gulpfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/kareem/gulpfile.js')
-rw-r--r--node_modules/kareem/gulpfile.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/node_modules/kareem/gulpfile.js b/node_modules/kareem/gulpfile.js
new file mode 100644
index 0000000..635bfc7
--- /dev/null
+++ b/node_modules/kareem/gulpfile.js
@@ -0,0 +1,18 @@
+var gulp = require('gulp');
+var mocha = require('gulp-mocha');
+var config = require('./package.json');
+var jscs = require('gulp-jscs');
+
+gulp.task('mocha', function() {
+ return gulp.src('./test/*').
+ pipe(mocha({ reporter: 'dot' }));
+});
+
+gulp.task('jscs', function() {
+ return gulp.src('./index.js').
+ pipe(jscs(config.jscsConfig));
+});
+
+gulp.task('watch', function() {
+ gulp.watch('./index.js', ['jscs', 'mocha']);
+});