Searched refs:hasPackageJson (Results 1 – 2 of 2) sorted by relevance
676 const hasPackageJson = await fileExists(p, 'package.json')678 if (!this.localPrefix && (hasPackageJson || await dirExists(p, 'node_modules'))) {680 this.localPackage = hasPackageJson691 if (this.localPrefix && hasPackageJson) {712 this.localPackage = hasPackageJson
361 const hasPackageJson = constant363 if (node.isRoot && hasPackageJson) {