hydro-clean-dir

0.0.1 • Public • Published

NPMversion Build Status Coverage Status

hydro-clean-dir

Synopsis

Empty given directories after each test.

Useful to clean local tmp locations.

Usage

Config:

hydro.set({
  plugins: ['hydro-clean-dir'],
  cleanDir: {
    keepDot: true // keep dot files, default: false
    paths: [join('test', 'tmp')] // array of paths to directories
  }
});

Installation

npm:

npm install hydro-clean-dir

Tests

$ npm test

License

The MIT License (see LICENSE)

Readme

Keywords

none

Package Sidebar

Install

npm i hydro-clean-dir

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • vesln