Load version from package.json

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
Sheogorath 2018-01-19 13:23:30 +01:00
parent 11a5dd0eb4
commit 583aa4f462
No known key found for this signature in database
GPG Key ID: 1F05CC3635CDDFFD
1 changed files with 3 additions and 1 deletions

View File

@ -13,8 +13,10 @@ const debugConfig = {
debug: (env === Environment.development)
}
const {version} = require(path.join(appRootPath, 'package.json'))
const packageConfig = {
version: '1.0.0-ce',
version: version,
minimumCompatibleVersion: '0.5.0'
}