Add main to package.json for commonjs support.