check for package.json