From 583aa4f46243b5af2b67e58bc68054f6e601af05 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Fri, 19 Jan 2018 13:23:30 +0100 Subject: [PATCH] Load version from package.json Signed-off-by: Sheogorath --- lib/config/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/config/index.js b/lib/config/index.js index 61fbafcd9..d44207bf1 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' }