old_contents: var nconf = require( __dirname + '/config/config.js' );
  
  module.exports = function (grunt) {
  
    grunt.initConfig({
  
      migrate: {
        options: {
          config: './lib/data/database.json',
          dir: './lib/data/migrations',
          verbose: true,
          env: {
            DATABASE_URL: nconf.get('DATABASE_URL')
          }
        }
      },
  
      jsdoc : {
        dist : {
          src: ['./index.js', './lib/api/*.js'],
          options: {
            destination: './doc/jsdoc'
          }
        }
      },
  
      jshint: {
        files: [
          'Gruntfile.js',
          'index.js',
          'package.json',
          'bin/gateway',
          'config/*',
          'lib/**/*.js',
          'processes/**/*.js',
          'test/**/*.js'
        ],
        options: {
          jshintrc: '.jshintrc'
        }
      }
  
    });
    
    grunt.loadNpmTasks('grunt-db-migrate');
    grunt.loadNpmTasks('grunt-jsdoc');
    grunt.loadNpmTasks('grunt-contrib-jshint');
    grunt.registerTask('default', ['migrate']);
  };
  
new_contents: var nconf = require( __dirname + '/config/config.js' );
  
  module.exports = function (grunt) {
  
    grunt.initConfig({
  
      migrate: {
        options: {
          config: './lib/data/database.json',
          'migrations-dir': './lib/data/migrations',
          verbose: true,
          env: {
            DATABASE_URL: nconf.get('DATABASE_URL')
          }
        }
      },
  
      jsdoc : {
        dist : {
          src: ['./index.js', './lib/api/*.js'],
          options: {
            destination: './doc/jsdoc'
          }
        }
      },
  
      jshint: {
        files: [
          'Gruntfile.js',
          'index.js',
          'package.json',
          'bin/gateway',
          'config/*',
          'lib/**/*.js',
          'processes/**/*.js',
          'test/**/*.js'
        ],
        options: {
          jshintrc: '.jshintrc'
        }
      }
  
    });
    
    grunt.loadNpmTasks('grunt-db-migrate');
    grunt.loadNpmTasks('grunt-jsdoc');
    grunt.loadNpmTasks('grunt-contrib-jshint');
    grunt.registerTask('default', ['migrate']);
  };
  
subject: Change migrations directory path