UNPKG

dynupdate-aws

Version:

NodeJS module to update no-ip and submit your AWS instance IP as a dynamic dns update request

33 lines (29 loc) 838 B
module.exports = function(grunt) { 'use strict'; // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), jshint: { files: ['src/**/*.js', 'test/**/*.js'] }, // UGLIFY TASK uglify: { task1: { options: { preserveComments: 'some', report: 'min', banner: '/** \n* @license <%= pkg.name %> - v<%= pkg.version %>\n' + '* (c) 2013 Julien VALERY https://github.com/darul75/dynupdate-aws\n' + '* License: MIT \n**/\n' }, files: {'lib/dynupdate-aws.js': ['src/dynupdate-aws.js'] } } } }); // LOAD PLUGINS grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-uglify'); // TASK REGISTER grunt.registerTask('default', ['jshint', 'uglify:task1']); };