UNPKG

grunt-load-options

Version:

A simple plugin to modularize your Gruntfile by putting configuration options and tasks in a `grunt` subfolder.

9 lines (6 loc) 238 B
/* Load package.json */ // If you need access to the grunt object, wrap it in a function with `grunt` // as a parameter and return your options object. module.exports = function(grunt) { return grunt.file.readJSON('package.json'); };