Add the main property to the package.json

This enables npm compatibility.