UNPKG

365 BJavaScriptView Raw
1#!/usr/bin/env node
2
3'use strict';
4
5const minNodeVersion = '8.0.0';
6const semver = require('semver');
7
8if (!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
14require('./cli');