fix package.json definition.

Add link to 'main' script so this will work via npm