From b43c68cc78aa5e264bcaa9177be1be6faaabb026 Mon Sep 17 00:00:00 2001 From: Kevin Dixon Date: Tue, 27 Jan 2015 11:43:31 +0000 Subject: [PATCH] Added grunt-timer to show elapsed time of task --- gruntfile.js | 3 +++ package.json | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gruntfile.js b/gruntfile.js index cd86154..4c78148 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -2,6 +2,9 @@ * Grunt definition */ module.exports = function(grunt) { + // Time the execution of the task + var timer = require("grunt-timer"); + timer.init(grunt); // Project configuration. grunt.initConfig({ diff --git a/package.json b/package.json index b7dcd71..4815de1 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,12 @@ { "name": "od-performance-budget", - "version": "0.0.2", + "version": "0.0.3", "devDependencies": { "grunt": "~0.4.5", "grunt-pagespeed": "~0.4.1", "grunt-yslow": "~0.0.4", - "grunt-perfbudget": "~0.1.6" + "grunt-perfbudget": "~0.1.6", + "grunt-timer": "~0.5.8" }, "repository" : { "type" : "git",