mirror of https://github.com/jkjoy/sunpeiwen.git
6 lines
194 B
JavaScript
6 lines
194 B
JavaScript
|
'use strict';
|
||
|
const findUp = require('find-up');
|
||
|
|
||
|
module.exports = async ({cwd} = {}) => findUp('package.json', {cwd});
|
||
|
module.exports.sync = ({cwd} = {}) => findUp.sync('package.json', {cwd});
|