-
Notifications
You must be signed in to change notification settings - Fork 263
/
install.js
36 lines (22 loc) · 925 Bytes
/
install.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*******************************************************************************
Highcharts Export Server
Copyright (c) 2016-2024, Highsoft
Licenced under the MIT licence.
Additionally a valid Highcharts license is required for use.
See LICENSE file in root for details.
*******************************************************************************/
import { readFileSync } from 'fs';
import { join } from 'path';
import { __dirname } from './lib/utils.js';
import 'colors';
const pkgFile = JSON.parse(readFileSync(join(__dirname, 'package.json')));
console.log(
`
Highcharts Export Server V${pkgFile.version}
${'This software requires a valid Highcharts license for commercial use.'.yellow}
If you do not have a license, one can be obtained here:
${'https://shop.highsoft.com/'.green}
To customize your installation (include additional/fewer modules and so on),
please refer to the readme file.
`.green
);