0.7.1 • Published 6 years ago

grunt-david v0.7.1

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

Dependency Status

grunt-david

Watching your node.js dependencies.

Getting Started

This plugin requires Grunt ~0.4.0

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-david --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-david');

David task

Run this task with the grunt david command.

Keep your node.js dependencies up to date.

Options

package

Type: String Default: undefined

Optionally specify the package.json path, david uses ./package.json by default.

update

Type: Boolean Default: false

Turn on if you want to update all your project dependencies to the latest stable versions.

unstable

Type: Boolean Default: false

Turn on if you want to update all your project dependencies to the latest versions (including unstable versions)

registry

Type: String Default: undefined

Use an alternate registry

error404

Type: Boolean Default: false

Turn on to abort if David finds any dependencies that are not published to npm. Error messages are then included in the report.

errorSCM

Type: Boolean Default: false

Turn on to abort if David finds any dependencies that are SCM URLs. Error messages are then included in the report.

ignore

Type: Array|String Default: undefined

Tell david to ignore dependencies.

Usage examples

Update dependencies

// Project configuration.
grunt.initConfig({
  david: {
    all: {
      options: {
        update: true,
        ignore: ['grunt']
      }
    }
  }
});
0.7.1

6 years ago

0.7.0

8 years ago

0.6.0

9 years ago

0.5.0

9 years ago

0.4.0

9 years ago

0.3.0

9 years ago

0.2.0

10 years ago

0.1.0

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago