grunt-rm

rm -rf grunt task

npm install grunt-rm
24 downloads in the last day
107 downloads in the last week
1 180 downloads in the last month

grunt-rm

Grunt multi-task that removes specified files and directories.

Installation

npm install grunt-rm

For more information see grunt.js documentation: https://github.com/cowboy/grunt/blob/master/docs/toc.md

Config

rm: {
  foo: 'js/*/**',
  bar: [
    'css/reset.css',
    'css/style.css'
  ],
  someDir: {
      dir: 'css/images/'
  }
}

Release notes

0.0.4

  • Change to fs.existsSync with backwards compatibility (thanks to pcottle)

0.0.3

npm loves you