npm prepublish for the win