expressInstallDependencies method

Future<void> expressInstallDependencies (
  1. {String path}
)

Implementation

Future<void> expressInstallDependencies({String path}) async {
  await shell.cd(path).run('npm i express nodemon');
  ANSIPrinter().printRGB('Express nodemon Installed',
      breakLine: true, bGray: 1.0, fColor: 0xff4BB543);
  await shell.cd(path).run('npm i bcrypt');
  ANSIPrinter().printRGB('Bcrypt Installed',
      breakLine: true, bGray: 1.0, fColor: 0xff4BB543);
  await shell.cd(path).run('npm i dotenv');
  ANSIPrinter().printRGB('Dotenv Installed',
      breakLine: true, bGray: 1.0, fColor: 0xff4BB543);
  await shell.cd(path).run('npm i jsonwebtoken');
  ANSIPrinter().printRGB('JsonWebToken Installed',
      breakLine: true, bGray: 1.0, fColor: 0xff4BB543);
  await shell.cd(path).run('npm i mongoose');
  ANSIPrinter().printRGB('Mongoose Installed',
      breakLine: true, bGray: 1.0, fColor: 0xff4BB543);
  await shell.cd(path).run('npm install node-input-validator');
  ANSIPrinter().printRGB('Node-input-validator Installed',
      breakLine: true, bGray: 1.0, fColor: 0xff4BB543);

  ANSIPrinter().printRGB(
      '-------------------------------------------------------------------------------------------',
      breakLine: true,
      bGray: 1.0,
      fColor: 0xff4BB543);
  ANSIPrinter().printRGB('Successfully Installed Everything :)',
      breakLine: true, bGray: 1.0, fColor: 0xff4BB543);
  ANSIPrinter().printRGB(
      '-------------------------------------------------------------------------------------------',
      breakLine: true,
      bGray: 1.0,
      fColor: 0xff4BB543);
}