{"size": 531, "ext": "js", "max_stars_repo_path": "build.js", "max_stars_repo_name": "chrismcv/exim", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "build.js", "max_issues_repo_name": "chrismcv/exim", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "build.js", "max_forks_repo_name": "chrismcv/exim", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.0869565217, "max_line_length": 86, "alphanum_fraction": 0.6064030132}
var fs = require("fs");
var browserify = require("browserify");
var babelify = require("babelify");
var bro = browserify({ debug: true, cache: {}, packageCache: {}, standalone: 'Exim'});

function update () {
  bro
    .transform(babelify)
	.transform('exposify', {
		expose:{
			'react':'React',
			'react-router':'ReactRouter'
		}
	})
    .require("./src", { entry: true })
    .bundle()
    .on("error", function (err) { console.log("Error : " + err.message); })
    .pipe(fs.createWriteStream("./dist/exim.js"));
}

update();

