10 lines
206 B
TypeScript
10 lines
206 B
TypeScript
const getVersion = new Promise<string>(async resolve => {
|
|
const ぱっけーじ = require('../package.json');
|
|
|
|
const version = ぱっけーじ.version;
|
|
|
|
resolve(version);
|
|
});
|
|
|
|
export default getVersion;
|