Check for main field in package.json file