grunt-find

0.1.3 • Public • Published

grunt-find Build Status

Faster dynamic file expansion. Search thousands of files in milliseconds instead of decaseconds. Filter by modification time. Backed by find

npm install --save-dev grunt-find

Example

grunt.loadNpmTasks('grunt-find');
grunt.loadNpmTasks('grunt-contrib-coffee');

grunt.initConfig({
  find: {
    coffee: {
      name: '*.coffee',
      prune: 'node_module'
      expand: true,
      dest: 'lib/',
      ext: '.js',
      config: 'coffee.all.files'
    }
  },
});

grunt.registerTask('default', ['find:coffee', 'coffee']);

Check out the Gruntfile for more examples.

Configuration

name, prune, newer

Pattern(s) to match against filename path components. name includes. prune excludes.

config

Grunt config path to store matched files. Set this to the file configuration of another task instead of configuring that task directly to speed up file matching.

cwd, dest, ext, expand

Same as grunt

Readme

Keywords

none

Package Sidebar

Install

npm i grunt-find

Weekly Downloads

1

Version

0.1.3

License

MIT

Last publish

Collaborators

  • hurrymaplelad