2020-08-20 15:21:03 -05:00
|
|
|
import fs from 'fs';
|
|
|
|
import path from 'path';
|
|
|
|
import { fileURLToPath } from 'url';
|
|
|
|
|
|
|
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
|
|
|
|
|
|
const SQUADJS_VERSION = JSON.parse(
|
2020-10-05 12:52:01 -05:00
|
|
|
fs.readFileSync(path.resolve(__dirname, '../../package.json'), 'utf8')
|
2020-08-20 15:21:03 -05:00
|
|
|
).version;
|
|
|
|
|
|
|
|
/* As set out by the terms of the license, the following should not be modified. */
|
2021-01-28 12:34:27 -06:00
|
|
|
const COPYRIGHT_MESSAGE = `Powered by SquadJS, Copyright © ${new Date().getFullYear()}`;
|
2020-08-20 15:21:03 -05:00
|
|
|
|
2020-10-25 09:24:48 -05:00
|
|
|
export { SQUADJS_VERSION, COPYRIGHT_MESSAGE };
|