#!/bin/sh -x
npm update
version=`grep version node_modules/es6-transpiler/package.json  | head -1 | sed -e 's;.*: ";;' -e 's;".*;;'`
date=`date '+%Y%m%d'`
tar cvf - node_modules | gzip -9 >es6-transpiler-$version-$date.tar.gz
