diff options
author | Sheogorath | 2018-01-19 13:23:30 +0100 |
---|---|---|
committer | Sheogorath | 2018-01-19 13:54:19 +0100 |
commit | 583aa4f46243b5af2b67e58bc68054f6e601af05 (patch) | |
tree | 370ab49f5988e7ac8b0f19ce711d396f3045b007 /lib | |
parent | 11a5dd0eb42f5c3da81e07bcf33779bd29063f99 (diff) |
Load version from package.json
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to '')
-rw-r--r-- | lib/config/index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/config/index.js b/lib/config/index.js index 61fbafcd..d44207bf 100644 --- a/lib/config/index.js +++ b/lib/config/index.js @@ -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' } |