Install node modules for test.
Future nodeSetupCheck(String dir) async { if (nodeSetupNeeded(dir)) { await Shell(workingDirectory: dir).run('npm install'); } }