import * as shelljs from 'shelljs';
import * as path from 'path';
import * as fs from 'fs';

var packageDir = path.join(path.dirname(fs.realpathSync(__filename)), '../');
shelljs.cd(packageDir);
shelljs.exec(path.join(packageDir, 'node_modules', '.bin', 'electron') + ' .');

import * as shelljs from 'shelljs';
import * as path from 'path';
import * as fs from 'fs';

let packageDir = path.join(path.dirname(fs.realpathSync(__filename)), '../');
shelljs.cd(packageDir);
shelljs.exec(path.join(packageDir, 'node_modules', '.bin', 'electron') + ' .');

Use let instead of var
Use let instead of var
