You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
401 B

'use strict';
module.exports = function (grunt, options) {
var pkgFunction = function () {
return grunt.file.readJSON('package.json')
};
//THIS extension forces the banner or whatever uses pkgFunction to always get the latest version
//where as pkg is only done once at grunt init.
_.extend(options, {
pkgFunction: pkgFunction
});
return pkgFunction();
};