code: function validateMeteor(architecture) {
    var release;
    var packages; // Ensure Meteor CLI is installed
  
    _winston.default.debug('check Meteor is installed');
  
    if (_commandExists.default.sync('meteor') === false) {
      throw new Error('Meteor is not installed');
    } // Determine current release/packages from '.meteor' directory
  
  
    try {
      release = _fs.default.readFileSync('.meteor/release', 'utf8');
      packages = _fs.default.readFileSync('.meteor/packages', 'utf8');
    } catch (error) {
      /* Abort the program if files are not found, this is a strong
         indication we may not be in the root project directory */
      throw new Error('You must be in a Meteor project directory');
    } // Determine major/minor version numbers by stripping non-numeric characters from release
  
  
    var versionNumbers = release.replace(/[^0-9]/g, '');
    var majorVersion = Number.parseInt(versionNumbers.charAt(0), 10);
    var minorVersion = Number.parseInt(versionNumbers.charAt(1), 10); // Ensure project does not use 'force-ssl' package
  
    _winston.default.debug('check for incompatible \'force-ssl\' package');
  
    if (packages.includes('force-ssl')) {
      throw new Error('The "force-ssl" package is not supported. Please read the docs to configure an HTTPS redirect in your web config.');
    } // Ensure current Meteor release is >= 1.4
  
  
    _winston.default.debug('check current Meteor release >= 1.4');
  
    if (majorVersion < 1 || minorVersion < 4) {
      throw new Error('Meteor version must be >= 1.4');
    } // Ensure current Meteor release >= 1.6 for 64-bit architecture
  
  
    if (architecture === '64') {
      _winston.default.debug('check current Meteor release >= 1.6 for 64-bit Node');
  
      if (majorVersion < 1 || minorVersion < 6) {
        throw new Error('Meteor version must be >= 1.6 for 64-bit Node');
      }
    }
  }
docs: Validation methods