26 lines
530 B
JavaScript
26 lines
530 B
JavaScript
/**
|
|
* Grunt Configurations
|
|
* ====================
|
|
*
|
|
* Seperate tasks and configurations are declared in '/tasks'.
|
|
*
|
|
* Link: https://github.com/firstandthird/load-grunt-config
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
module.exports = function (grunt) {
|
|
|
|
// tracks how long a tasks take
|
|
require('time-grunt')(grunt);
|
|
|
|
// load task and configurations
|
|
require('load-grunt-config')(grunt, {
|
|
configPath: __dirname + '/tasks',
|
|
data: {
|
|
pkg: grunt.file.readJSON('package.json'),
|
|
year: new Date().getFullYear()
|
|
}
|
|
});
|
|
};
|