<commit_before>var gulp = require('gulp');
var browserify = require('browserify');
var source = require('vinyl-source-stream');
var uglify = require('gulp-uglify');
var streamify = require('gulp-streamify');
var rename = require('gulp-rename');
var browserSync = require('browser-sync').create();

var port = process.env.PORT || 3001;




gulp.task('browserify', function() {
    var bundleStream = browserify('./lib/cards_rewards.js')
	.bundle()

    bundleStream
	.pipe(source('cards_rewards.js'))
	.pipe(streamify(uglify()))
	.pipe(rename('bundle.js'))
	.pipe(gulp.dest('./'))

});


gulp.task('watch', function() {
    gulp.watch('lib/**/*.js', ['browserify']);
});


gulp.task('browser-sync', function() {
    browserSync.init({
	server: {
	    baseDir: './',
	    port: port
	}
    });
});



gulp.task('default', ['browserify', 'watch', 'browser-sync']);<commit_msg>remove port designation, add dev task<commit_after>var gulp = require('gulp');
var browserify = require('browserify');
var source = require('vinyl-source-stream');
var uglify = require('gulp-uglify');
var streamify = require('gulp-streamify');
var rename = require('gulp-rename');
var browserSync = require('browser-sync').create();





gulp.task('browserify', function() {
    var bundleStream = browserify('./lib/cards_rewards.js')
	.bundle()

    bundleStream
	.pipe(source('cards_rewards.js'))
	.pipe(streamify(uglify()))
	.pipe(rename('bundle.js'))
	.pipe(gulp.dest('./'))

});


gulp.task('watch', function() {
    gulp.watch('lib/**/*.js', ['browserify']);
});


gulp.task('browser-sync', function() {
    browserSync.init({
	server: {
	    baseDir: './'
	}
    });
});



gulp.task('default', ['browserify', 'watch', 'browser-sync']);
gulp.task('build', ['browserify']);
{'fraction_non_alphanumeric': 0.2191780821917808, 'fraction_numerical': 0.00228310502283105, 'mean_word_length': 4.691558441558442, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '703332', 'n_tokens_mistral': 616, 'n_tokens_neox': 591, 'n_words': 102}