promised-twit
Version:
Promised version of twit (Twitter API Client for node (REST & Streaming API))
24 lines (17 loc) • 419 B
JavaScript
;
var gulp = require('gulp');
var jshint = require('gulp-jshint');
var paths = {
jshint: ['*.js'],
};
gulp.task('jshint', function() {
return gulp.src(paths.jshint)
.pipe(jshint())
.pipe(jshint.reporter('jshint-stylish'));
});
gulp.task('watch', function() {
gulp.watch(paths.jshint, ['jshint']);
});
gulp.task('dev', ['jshint'], function() {
});
gulp.task('default', ['watch', 'dev']);