0.1.0 • Published 9 years ago

grunt-ver-iterator v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

grunt-ver-iterator

a grunt plugin for version iterations

grunt >= 0.4.5

Installation

npm install --save-dev grunt-ver-iterator

Usage Guidelines

verIterator: {
  test: {
    options: {
        name: 'grunt',
        range: '>=0.4.0',
        task: runGruntfile
    },
    src: ['./test/gruntfile.js']
  }
}

require('load-grunt-tasks')(grunt);

Options

  • task: { Function } Mandatory

    The task going to run and the passing context(i.e. this) of the task is grunt task object

  • name: { String } Mandatory

    Published package name

  • range: { String } Optional | "*"

    The iterating version ranges in semver format

  • dir: { String } Optional | "."

    The installing package directory

License

MIT License