Fixes #34

Adds 'hat' dependency to package.json