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)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    5

Package Sidebar

Install

npm i hydro-clean-dir

Weekly Downloads

5

Version

0.0.1

License

MIT

Last publish

Collaborators

  • vesln