text: var gulp = require('gulp');
  var browserify = require('browserify');
  var source = require('vinyl-source-stream');
  var jshint = require('gulp-jshint');
  var react = require('gulp-react');
  
  gulp.task('default',['jshint','example'],function() {
    gulp.watch(['src/**/**.jsx'],['jshint','example']);
    gulp.watch(['example/**/**.jsx'],['example']);
  });
  
  
  gulp.task('example',function() {
    return browserify({
      entries: ['./example/example.jsx'],
      debug: true
    })
    .bundle()
    .pipe(source('example.js'))
    .pipe(gulp.dest('build'));
  });
  
  
  gulp.task('backbone',function() {
    return browserify({
      entries: ['./example/backbone-example.jsx'],
      debug: true
    })
    .bundle()
    .pipe(source('backbone-example.js'))
    .pipe(gulp.dest('build'));
  });
  
  
  gulp.task('jshint',function() {
    gulp.src('src/**/**.jsx').pipe(react()).pipe(jshint())
    .pipe(jshint.reporter('default'));
  });
  