grunt-jquerybuilder

0.1.5 • Public • Published

grunt-jquerybuilder

Mainatiner wanted! Please use jquery-builder as no more issues will be fixed

Simple grunt wrapper around the jquery-builder from @jgallen23.

Build Status

Getting Started

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-jquerybuilder

Then add this line to your project's grunt.js gruntfile.

grunt.loadNpmTasks('grunt-jquerybuilder');

Resources

Documentation

Load the grunt-jquerybuilder task as described in 'Getting started' and add your jQuery builder configuration to your grunt file:

Example jQuery builder grunt file config entry:

// ... grunt file contents
    jquery: {
      // the parts you want to exclude from your build
      // possible values ['ajax', 'css', 'deprecated', 'dimensions', 'effects', 'offset']
      exclude: ['ajax'],
      // the jQuery version (currently only 1.8.3 is supported) - defaults to 1.8.3
      version: '1.8.3',
      // output location (relative to your grunt.js file location)
      dest: 'build/jquery.custom.js',
      // minify the output (true or false) - defaults to false
      minify: false
    },
// ... even more grunt file contents

As you might have guessed, this would produce the same output as

grunt custom:-ajax

Release History

0.1.2

  • Fixed filename reference in package.json

0.1.1

  • Housekeeping (README additions, log output, etc.)

0.1.0

  • Initial Release

License

Copyright (c) 2012 asciidisco Licensed under the MIT license.

Package Sidebar

Install

npm i grunt-jquerybuilder

Weekly Downloads

3

Version

0.1.5

License

none

Last publish

Collaborators

  • asciidisco