This commit is contained in:
Stephen Franceschelli
2019-07-15 13:46:13 -04:00
parent 574f83ab4c
commit 70039febf8
7043 changed files with 0 additions and 1866383 deletions

17
node_modules/pkg-dir/index.js generated vendored
View File

@@ -1,17 +0,0 @@
'use strict';
const path = require('path');
const findUp = require('find-up');
const pkgDir = async cwd => {
const filePath = await findUp('package.json', {cwd});
return filePath && path.dirname(filePath);
};
module.exports = pkgDir;
// TODO: Remove this for the next major release
module.exports.default = pkgDir;
module.exports.sync = cwd => {
const filePath = findUp.sync('package.json', {cwd});
return filePath && path.dirname(filePath);
};