mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
9 lines
175 B
JavaScript
9 lines
175 B
JavaScript
|
var packageInfo = require('../../../package.json'),
|
||
|
version = packageInfo.version;
|
||
|
|
||
|
module.exports = {
|
||
|
full: version,
|
||
|
safe: version.match(/^(\d+\.)?(\d+)/)[0]
|
||
|
};
|
||
|
|