Update npm dependencies.
This plugin requires Grunt ~0.4.0
Install the plugin with this command:
npm install grunt-update-dependencies --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-update-dependencies');
Run this task with the grunt update-dependencies
command.
There are a number of options available.
Type: Boolean
Default: true
Show stdout in the terminal.
Type: Boolean
Default: true
Show stderr in the terminal.
Type: Boolean
Default: true
Instructs the update-dependencies task to fail the grunt run if an error occurs while updating dependencies.
Type: String
Default: (none) - runs in current directory
Defines the working directory to run 'npm update' (relative path)