1 |
|
2 |
|
3 | ;
|
4 |
|
5 | const minNodeVersion = '8.0.0';
|
6 | const semver = require('semver');
|
7 |
|
8 | if (!semver.gte(process.version, minNodeVersion)) {
|
9 | // eslint-disable-next-line no-console
|
10 | console.log(`Unfortunately, at least node version ${minNodeVersion} is required. You are running version ${process.version}`);
|
11 | process.exit(1);
|
12 | }
|
13 |
|
14 | require('./cli');
|