0.1.1 • Published 11 years ago

grunt-jquerytransform v0.1.1

Weekly downloads
13
License
-
Repository
github
Last release
11 years ago

jQuery Transform

grunt-jquerytransform is a grunt task for transforming HTML files with jQuery, based on Mickael Daniel's original work in h5bp/node-build-script.

Installation

npm install grunt-jquerytransform

Use

grunt.initConfig({
  jquerytransform: {
    files: ['**/*.html'], // All HTML files
    transform: function($) {
      // For styling bullet separate from text
      $('.post li').wrapInner('<span />');
    }
  }
});

grunt.loadNpmTasks('grunt-jquerytransform');
0.1.1

11 years ago

0.1.0

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago