insomnia/app/lib/appInfo.js

10 lines
188 B
JavaScript
Raw Normal View History

import * as appJson from '../app.json';
2016-07-07 20:10:55 +00:00
2016-07-07 22:06:18 +00:00
export function getVersion () {
2016-07-07 20:10:55 +00:00
return appJson.version;
}
2016-07-07 22:06:18 +00:00
export function isDevelopment () {
return process.env.NODE_ENV === 'development';
}