add 'main' property

provide a path to the main file so that build tools using Node.js-style
dependency management can find the file