grunt-hash-manifest

0.5.3 • Public • Published

grunt-hash-manifest Build Status

Creates manifest of files and associated hashes

Getting Started

This plugin requires Grunt ~0.4.0

npm install grunt-hash-manifest --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-hash-manifest');

*This plugin was designed to work with Grunt 0.4.x.

Options

  • algo specifies which hashing algorithm to use. The default is md5. The choices are limited to what node's crypto module supports.
  • cwd is the directory in which to expand the globbing patterns as well as the root for dest
  • format is the output format. It can be txt or json. Default is txt

Usage Examples

"hash-manifest": {
  dist: {
    options: {
        algo: "md5",
        cwd: "dist"
    },
    src: [ "**/*" ],
    dest: "MANIFEST"
  }
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.5.3
    308
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.5.3
    308
  • 0.5.1
    3
  • 0.5.0
    3
  • 0.4.1
    2
  • 0.4.0
    1

Package Sidebar

Install

npm i grunt-hash-manifest

Weekly Downloads

5

Version

0.5.3

License

none

Last publish

Collaborators

  • gseguin