Browse Source

Add autoupdate UI version

pull/1/head
AlphaX-Projects 3 years ago committed by GitHub
parent
commit
3b60152603
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      package.json

1
package.json

@ -17,6 +17,7 @@
"license": "GPL-3.0",
"scripts": {
"dev": "node server.js",
"prebuild": "node -p \"'export const UI_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > qortal-ui-core/src/redux/app/version.js",
"build-dev": "node build.js",
"build": "NODE_ENV=production node build.js",
"server": "NODE_ENV=production node server.js",

Loading…
Cancel
Save