// adapted based on rackt/history (MIT)
// Node 0.10+
var execSync = require('child_process').execSync;
var stat = require('fs').stat;

// Node 0.10 check
if (!execSync) {
  execSync = require('sync-exec');
}

function exec(command) {
  execSync(command, {
    stdio: [0, 1, 2]
  });
}

stat('dist-modules', function(error, stat) {
  if (error || !stat.isDirectory()) {
    exec('npm i babel-cli babel-preset-es2015 babel-preset-react');
    exec('npm run dist-modules');
  }
});

@@ -325,16 +325,90 @@
 stat) %7B%0A
+  // Skip building on Travis%0A  if (process.env.TRAVIS) %7B%0A    return;%0A  %7D%0A%0A
   if (er

Check against Travis at post_install script