grunt-install-dependencies

Install and update npm dependencies.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
grunt-install-dependencies
1320.2.09 years ago10 years agoMinified + gzip package size for grunt-install-dependencies in KB

Readme

grunt-install-dependencies Build Status
Install and update npm dependencies.

Getting Started

This plugin requires Grunt ~0.4.0
Install the plugin with this command:
npm install grunt-install-dependencies --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-install-dependencies');

Install Dependencies task

Run this task with the grunt install-dependencies command.

Settings

There are a number of options available.

options.stdout

Type: Boolean Default: true
Show stdout in the terminal.

options.stderr

Type: Boolean Default: true
Show stderr in the terminal.

options.failOnError

Type: Boolean Default: true
Instructs the install-dependencies task to fail the grunt run if an error occurs while updating dependencies.

options.cwd

Type: String Default: (none) - runs in current directory
Defines the working directory to run 'npm install' (relative path)