check for existence of package.json