2017-03-17 15:02:41 +00:00
|
|
|
const getVersion = new Promise<string>(async resolve => {
|
2017-03-17 17:12:27 +00:00
|
|
|
const ぱっけーじ = require('../package.json');
|
2017-03-17 15:02:41 +00:00
|
|
|
|
2017-03-17 17:12:27 +00:00
|
|
|
const version = ぱっけーじ.version;
|
2017-03-17 15:02:41 +00:00
|
|
|
|
|
|
|
resolve(version);
|
|
|
|
});
|
|
|
|
|
|
|
|
export default getVersion;
|