grunt-handlebars

0.0.6 • Public • Published

grunt-handlebars

Grunt task for precompiling Handlebars template.

Getting Started

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

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

grunt.loadNpmTasks('grunt-handlebars');

Usage

// Project configuration.
grunt.initConfig({
  handlebars: {
    all: {
      src: 'templates',
      dest: 'js/templates.js'
    }
  }
});

Note: src should point to the templates directory which contains the *.handlebars files.

Release History

  • July 30, 2012 - 0.0.6 Revert to handlebars 1.0.5beta
  • July 30, 2012 - 0.0.5 Works on node 0.8, task failure on cmd failure, updated handlebars
  • June 14, 2012 - 0.0.4 Fix task by making it asynchronous
  • June 14, 2012 - 0.0.3 Bug Fix + removed dependency on node-ffi
  • May 30, 2012 - 0.0.2 Minor fixes
  • May 29, 2012 - 0.0.1 First release

License

Copyright (c) 2012 - Intellum Inc. Licensed under the MIT License http://intellum.com

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.6
    35
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.6
    35
  • 0.0.5
    0
  • 0.0.4
    0
  • 0.0.3
    0
  • 0.0.2
    0

Package Sidebar

Install

npm i grunt-handlebars

Weekly Downloads

28

Version

0.0.6

License

none

Last publish

Collaborators

  • luccastera
  • dambalah