New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grunt-david

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-david

Check npm dependencies

  • 0.7.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
85
increased by136.11%
Maintainers
1
Weekly downloads
 
Created
Source

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']
      }
    }
  }
});

Keywords

FAQs

Package last updated on 15 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc