start-clean
Version:
Clean task for Start
34 lines (25 loc) • 1.26 kB
Markdown
[](https://www.npmjs.com/package/start-clean)
[](https://travis-ci.org/start-runner/clean)
[](https://ci.appveyor.com/project/start-runner/clean)
[](https://codecov.io/github/start-runner/clean)
[](https://gemnasium.com/start-runner/clean)
Clean task for [Start](https://github.com/start-runner/start).
```sh
npm install --save-dev start-clean
yarn add --dev start-clean
```
```js
import start from 'start';
import reporter from 'start-pretty-reporter';
import files from 'start-files';
import clean from 'start-clean';
export const cleanBuild = () => start(reporter())(
files('build/'),
clean()
);
```
This task relies on array of files and provides the same, see [documentation](https://github.com/start-runner/start#readme) for details.