tasks/save.js
function clean(root, name) {
  const blacklist = ['.git', 'node_modules'];
  for (const item of blacklist) {
    const pathToItem = path.join(root, item);
    if (fs.pathExistsSync(pathToItem)) {
      fs.removeSync(pathToItem);
      console.log(`${chalk.dim.redBright(item)} has been removed from ${chalk.yellow(name)}`);
    }
  }
}
function clean(root, name) {
  const blacklist = ['.git', 'node_modules'];
  for (const item of blacklist) {
    const pathToItem = path.join(root, item);
    if (fs.pathExistsSync(pathToItem)) {
      fs.removeSync(pathToItem);
      console.log(`${chalk.dim.redBright(item)} has been removed from ${chalk.yellow(name)}`);
    }
  }
}
clean out blacklisted content