add main directive to package.json