adds main to package.json