{"size": 301, "ext": "js", "max_stars_repo_path": "setup/create-wp-project/src/cleanup.js", "max_stars_repo_name": "dmnyk/eightshift-frontend-libs", "max_stars_repo_stars_event_min_datetime": "2019-07-25T08:00:50.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-19T03:43:07.000Z", "max_issues_repo_path": "setup/create-wp-project/src/cleanup.js", "max_issues_repo_name": "dmnyk/eightshift-frontend-libs", "max_issues_repo_issues_event_min_datetime": "2019-10-29T05:34:20.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-31T09:12:19.000Z", "max_forks_repo_path": "setup/create-wp-project/src/cleanup.js", "max_forks_repo_name": "dmnyk/eightshift-frontend-libs", "max_forks_repo_forks_event_min_datetime": "2021-01-15T22:51:24.000Z", "max_forks_repo_forks_event_max_datetime": "2021-12-07T14:58:46.000Z"}
{"max_stars_count": 73, "max_issues_count": 326, "max_forks_count": 9, "avg_line_length": 20.0666666667, "max_line_length": 49, "alphanum_fraction": 0.6478405316}
const del = require('del');
const { join } = require('path');

const cleanup = async(projectPath) => {

  // Delete cloned folder.
  await del(join(projectPath, '.git'));
  await del(join(projectPath, '.github'));
  await del(join(projectPath, '.gitattributes'));
};

module.exports = {
  cleanup,
};
