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

@lodder/time-grunt

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lodder/time-grunt

Display the elapsed execution time of grunt tasks

  • 4.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
334
decreased by-18.34%
Maintainers
1
Weekly downloads
 
Created
Source

time-grunt

NPM Version Build Status Dependency Status

Display the elapsed execution time of grunt tasks

Install

$ npm i --save-dev @lodder/time-grunt

Usage

// Gruntfile.js
module.exports = grunt => {
	// Require it at the top and pass in the grunt instance
	require('@lodder/time-grunt')(grunt);

	grunt.initConfig();
}

Optional callback

If you want to collect the timing stats for your own use, pass in a callback:

require('@lodder/time-grunt')(grunt, (stats, done) => {
	// do whatever you want with the stats
	uploadReport(stats);

	// be sure to let grunt know when to exit
	done();
});

Options

  • Run grunt with --no-color to disable any colour indicators in the terminal

Clean layout

The watch task is hidden to reduce clutter.

Run grunt with grunt --verbose to see all tasks.

Run grunt with grunt --quiet to quiet all tasks including time-grunt.

License

MIT © Sindre Sorhus

Keywords

FAQs

Package last updated on 12 Mar 2019

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