del

Delete files and directories.

Installation

npm install --save-dev del

Configuration

const del = require('del');

del(['dist/']);