paricafe/src/version.ts
2017-03-18 02:02:59 +09:00

9 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;