make it detect a package.json file