added "main" field to package.json

This is needed, otheriwse you can't `require` this as a npm module.