GithubHelp home page GithubHelp logo

singletracksystems / time-grunt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sindresorhus/time-grunt

0.0 22.0 0.0 199 KB

Display the elapsed execution time of grunt tasks

License: MIT License

JavaScript 100.00%

time-grunt's Introduction

time-grunt Build Status

Display the elapsed execution time of grunt tasks

Install

$ npm install --save-dev time-grunt

Usage

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

	grunt.initConfig();
}

Optional callback

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

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

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

Clean layout

The watch task is hidden to reduce clutter.

License

MIT © Sindre Sorhus

time-grunt's People

Contributors

sindresorhus avatar dylang avatar adrianlee44 avatar simshanith avatar sorich87 avatar agsingletrack avatar kevva avatar peol avatar geddski avatar dominykas avatar donaldpipowitch avatar demmer avatar ntwb avatar tomgault avatar tomasstankovic avatar zubb avatar

Watchers

Paul Dyson avatar DrKJam avatar Chris avatar James Cloos avatar Dave Fish avatar  avatar  avatar Dmitry Gromov avatar Viv avatar  avatar Eduardo Lima avatar  avatar Michael Bruce avatar Elliot Saleh avatar Sofiane Sadi avatar  avatar  avatar  avatar patrick carson avatar Dan Klein avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.