mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-03 00:25:57 +09:00
10 lines
190 B
TypeScript
10 lines
190 B
TypeScript
const getVersion = new Promise<string>(async resolve => {
|
|
const package = require('../package.json');
|
|
|
|
const version = package.version;
|
|
|
|
resolve(version);
|
|
});
|
|
|
|
export default getVersion;
|