0.0.6 • Published 13 years ago
grunt-rev-package v0.0.6
grunt-rev-package
A grunt task that adds your package.json revision at the end of your file name.
This task renames files, so suggested use is in a temp or dist directory... not in the dev directory!
This task can be combined nicely with grunt-bump.
Example usage in grunt init:
revPackage: {
temp: 'temp/scripts/**.*/js'
},If your package.json.verions is = 0.1.0 then the following file
/temp/scripts/file.jswould be changed to:
/temp/scripts/file.0.1.0.js