Following on from #9, if there's going to be npm packaging, might as well also add in a build/minification/test step.