Merge pull request #686 from SISheogorath/feature/configVersion

Load version from package.json
This commit is contained in:
Christoph (Sheogorath) Kern 2018-01-19 14:34:54 +01:00 committed by GitHub
commit 60005d3039
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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'
}