Source version number from package.json (#1145)
This commit is contained in:
parent
00cea6f548
commit
9727051290
|
@ -1,10 +1,11 @@
|
|||
import React from 'react'; // For ANNOUNCEMENT_MESSAGE jsx
|
||||
import { getValues } from '../utils/helpers';
|
||||
import packageJson from '../../package.json';
|
||||
|
||||
export const languages = require('./languages.json');
|
||||
|
||||
// Displays in the footer
|
||||
export const VERSION = '0.3.2 (BETA)';
|
||||
export const VERSION = `${packageJson.version} (BETA)`;
|
||||
export const N_FACTOR = 8192;
|
||||
|
||||
// Displays at the top of the site, make message empty string to remove.
|
||||
|
|
Loading…
Reference in New Issue