Lines Matching refs:pkgfile
80 * `opts.readPackage(readFile, pkgfile, cb)` - function to asynchronously read and parse a package.j…
82 * pkgfile - path to package.json
85 * `opts.packageFilter(pkg, pkgfile, dir)` - transform the parsed package.json contents before looki…
87 * pkgfile - path to package.json
151 readPackage: function defaultReadPackage(readFile, pkgfile, cb) {
152 readFile(pkgfile, function (readFileErr, body) {
190 * `opts.readPackageSync(readFileSync, pkgfile)` - function to synchronously read and parse a packag…
192 * pkgfile - path to package.json
196 …* dir - directory that contains package.json (Note: the second argument will change to "pkgfile" i…
263 readPackageSync: function defaultReadPackageSync(readFileSync, pkgfile) {
264 var body = readFileSync(pkgfile);