Add time-grunt
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
module.exports = function(grunt) {
|
module.exports = function(grunt) {
|
||||||
|
// Load all tasks
|
||||||
|
require('load-grunt-tasks')(grunt);
|
||||||
|
// Show elapsed time
|
||||||
|
require('time-grunt')(grunt);
|
||||||
|
|
||||||
var jsFileList = [
|
var jsFileList = [
|
||||||
'assets/vendor/bootstrap/js/transition.js',
|
'assets/vendor/bootstrap/js/transition.js',
|
||||||
'assets/vendor/bootstrap/js/alert.js',
|
'assets/vendor/bootstrap/js/alert.js',
|
||||||
@@ -148,9 +153,6 @@ module.exports = function(grunt) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Load tasks
|
|
||||||
require('load-grunt-tasks')(grunt);
|
|
||||||
|
|
||||||
// Register tasks
|
// Register tasks
|
||||||
grunt.registerTask('default', [
|
grunt.registerTask('default', [
|
||||||
'dev'
|
'dev'
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
"grunt-contrib-uglify": "~0.2.4",
|
"grunt-contrib-uglify": "~0.2.4",
|
||||||
"grunt-contrib-watch": "~0.5.3",
|
"grunt-contrib-watch": "~0.5.3",
|
||||||
"grunt-modernizr": "~0.5.1",
|
"grunt-modernizr": "~0.5.1",
|
||||||
"load-grunt-tasks": "~0.3.0"
|
"load-grunt-tasks": "~0.3.0",
|
||||||
|
"time-grunt": "~0.3.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user