Websocket
[VSoRC/.git] / node_modules / websocket / gulpfile.js
diff --git a/node_modules/websocket/gulpfile.js b/node_modules/websocket/gulpfile.js
new file mode 100644 (file)
index 0000000..b515b92
--- /dev/null
@@ -0,0 +1,14 @@
+/**
+ * Dependencies.
+ */
+var gulp = require('gulp');
+var jshint = require('gulp-jshint');
+
+gulp.task('lint', function() {
+       return gulp.src(['gulpfile.js', 'lib/**/*.js', 'test/**/*.js'])
+               .pipe(jshint('.jshintrc'))
+               .pipe(jshint.reporter('jshint-stylish', {verbose: true}))
+               .pipe(jshint.reporter('fail'));
+});
+
+gulp.task('default', gulp.series('lint'));