mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-21 02:50:11 +08:00
13 lines
237 B
TypeScript
13 lines
237 B
TypeScript
/* eslint-disable */
|
|
/**
|
|
*
|
|
* @param {PathLike} path path to dependencies
|
|
* @returns {Array<string>}
|
|
*/
|
|
export default path => {
|
|
const pkgJson = require(path)
|
|
|
|
const { dependencies } = pkgJson
|
|
return Object.keys(dependencies)
|
|
}
|