Files
elasticsearch-js/Gruntfile.js

24 lines
741 B
JavaScript

/* jshint node:true */
'use strict';
module.exports = function (grunt) {
// load plugins
require('load-grunt-config')(grunt, {
configPath: require('path').join(__dirname, 'grunt/config'),
init: true,
config: {
distDir: 'dist',
meta: {
banner: '/*! <%= package.name %> - v<%= package.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
'<%= package.homepage ? " * " + package.homepage + "\\n" : "" %>' +
' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= package.author.name %>;' +
' Licensed <%= package.license %> */\n' +
' // built using browserify\n\n'
}
}
});
// load task definitions
grunt.loadTasks('grunt');
};