hydro-clean-dir
v0.0.1
Published
Empty given directories after each test
Downloads
8
Readme
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)