tasks/easy_rpm.js
function loadPackageProperties(grunt) {
    var packageFile = 'package.json';

    if (grunt.file.exists(packageFile)) {
        return _.pick(grunt.file.readJSON(packageFile), [
            'name',
            'version',
            'description'
        ]);
    }

    return {};
}
function loadPackageProperties(grunt) {
    var packageFile = 'package.json';

    if (grunt.file.exists(packageFile)) {
        return _.pick(grunt.file.readJSON(packageFile), [
            'name',
            'version',
            'description'
        ]);
    }

    return {};
}
Loads the package definition (if it exists) and picks specific properties to expose.  These properties are later merged into the options object as default values.