Sha256: b67b65ae8d12f805658a559c24662562dcf1ae02d18de62e3c338c2fca2c174f

Contents?: true

Size: 938 Bytes

Versions: 71

Compression:

Stored size: 938 Bytes

Contents

/*
 * jScrollPane build script
 * http://jscrollpane.kelvinluck.com/
 *
 * Copyright (c) 2013 Kelvin Luck
 * Licensed under the MIT license.
 */

'use strict';

module.exports = function(grunt) {

  // Project configuration.
  grunt.initConfig({

    uglify: {
      jsp: {
        files: {
          '../script/jquery.jscrollpane.min.js': '../script/jquery.jscrollpane.js'
        },
        options: {
          preserveComments: 'some'
        }
      }
    },
    watch: {
      content: {
        files: ['../script/jquery.jscrollpane.js'],
        tasks: 'uglify'
      }
    },
    connect: {
      site: {
        options: {
          base: '../'
        }
      }
    }

  });

  grunt.loadNpmTasks('grunt-contrib-connect');
  grunt.loadNpmTasks('grunt-contrib-watch');
  grunt.loadNpmTasks('grunt-contrib-uglify');

  grunt.registerTask('default', ['uglify']);
  grunt.registerTask('serve', ['uglify', 'connect', 'watch']);

};

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
roda-component-0.1.73 test/dummy/public/bower/jScrollPane/build/Gruntfile.js
roda-component-0.1.72 test/dummy/public/bower/jScrollPane/build/Gruntfile.js
roda-component-0.1.71 test/dummy/public/bower/jScrollPane/build/Gruntfile.js
roda-component-0.1.70 test/dummy/public/bower/jScrollPane/build/Gruntfile.js
roda-component-0.1.69 test/dummy/public/bower/jScrollPane/build/Gruntfile.js
roda-component-0.1.68 test/dummy/public/bower/jScrollPane/build/Gruntfile.js
roda-component-0.1.67 test/dummy/public/bower/jScrollPane/build/Gruntfile.js
roda-component-0.1.66 test/dummy/public/bower/jScrollPane/build/Gruntfile.js
roda-component-0.1.65 test/dummy/public/bower/jScrollPane/build/Gruntfile.js
roda-component-0.1.64 test/dummy/public/bower/jScrollPane/build/Gruntfile.js
roda-component-0.1.63 test/dummy/public/bower/jScrollPane/build/Gruntfile.js
roda-component-0.1.62 test/dummy/public/bower/jScrollPane/build/Gruntfile.js
roda-component-0.1.61 test/dummy/public/bower/jScrollPane/build/Gruntfile.js
roda-component-0.1.60 test/dummy/public/bower/jScrollPane/build/Gruntfile.js
roda-component-0.1.59 test/dummy/public/bower/jScrollPane/build/Gruntfile.js
roda-component-0.1.58 test/dummy/public/bower/jScrollPane/build/Gruntfile.js
roda-component-0.1.57 test/dummy/public/bower/jScrollPane/build/Gruntfile.js
roda-component-0.1.56 test/dummy/public/bower/jScrollPane/build/Gruntfile.js
roda-component-0.1.55 test/dummy/public/bower/jScrollPane/build/Gruntfile.js
roda-component-0.1.54 test/dummy/public/bower/jScrollPane/build/Gruntfile.js