dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
无人机转发接口反射调用
zhangjian
2023-07-11
89eff0cecfd9fd0efd0999189bd039a679f750f9
[~liusuyi/ruoyi-api.git]
/
ruoyi-ui
/
node_modules
/
@vue
/
cli-shared-utils
/
lib
/
pkg.js
1
2
3
4
5
6
7
8
9
10
const fs = require('fs')
const path = require('path')
const readPkg = require('read-pkg')
exports.resolvePkg = function (context) {
if (fs.existsSync(path.join(context, 'package.json'))) {
return readPkg.sync({ cwd: context })
}
return {}
}