commonroutesApp/www/lib/ui-leaflet/grunt/pkg.js
www/lib/ui-leaflet/grunt/pkg.jsRaw
1'use strict';
2
3module.exports = function (grunt, options) {
4 var pkgFunction = function () {
5 return grunt.file.readJSON('package.json')
6 };
7 //THIS extension forces the banner or whatever uses pkgFunction to always get the latest version
8 //where as pkg is only done once at grunt init.
9 _.extend(options, {
10 pkgFunction: pkgFunction
11 });
12 return pkgFunction();
13};