code: function build() {
  	runTypeScriptBuild('.build.es5', ts.ScriptTarget.ES5, true);
  	runTypeScriptBuild('.build.es6', ts.ScriptTarget.ES2015, false);
  	return Promise.all([
  		generateBundledModule(
  			path.resolve('.build.es5', 'index.js'),
  			path.resolve('lib', 'firestorter.js'),
  			'cjs'
  		),
  
  		generateBundledModule(
  			path.resolve('.build.es5', 'index.js'),
  			path.resolve('lib', 'firestorter.umd.js'),
  			'umd',
  			'firestorter'
  		),
  
  		generateBundledModule(
  			path.resolve('.build.es5', 'index.js'),
  			path.resolve('lib', 'firestorter.module.js'),
  			'es'
  		),
  
  		generateBundledModule(
  			path.resolve('.build.es6', 'index.js'),
  			path.resolve('lib', 'firestorter.es6.js'),
  			'es'
  		)
  	]).then(() => {
  		generateMinified();
  		// copyFlowDefinitions();
  	});
  }
docs: /* function copyFlowDefinitions() {
  console.log('Copying flowtype definitions');
  exec(`${getCmd(`ncp`)} flow-typed/firestorter.js lib/firestorter.js.flow`);
  }