Add hex dependency to package.json