{"_id":"grunt-ver","_rev":"31-016f12d260bd9c0bcce0a9b3fdc51fb1","name":"grunt-ver","description":"Add hashes to file names and update references to renamed files","dist-tags":{"latest":"0.5.3"},"versions":{"0.1.0":{"name":"grunt-ver","description":"Add hashes to file names and update references to renamed files","version":"0.1.0","homepage":"https://github.com/chrisdanford/grunt-ver","author":{"name":"Chris Danford","email":"chrisdanford@gmail.com"},"repository":{"type":"git","url":"https://github.com/chrisdanford/grunt-ver.git"},"bugs":{"url":"https://github.com/chrisdanford/grunt-ver/issues"},"licenses":[{"type":"MIT","url":"https://github.com/buunguyen/grunt-mindirect/blob/master/LICENSE-MIT"}],"main":"tasks/grunt-ver","engines":{"node":">=0.6.0"},"devDependencies":{"grunt":"0.3.x"},"keywords":["gruntplugin"],"_id":"grunt-ver@0.1.0","dist":{"shasum":"c87e0891bd7599bad0e1972aca8b92aa615028ec","tarball":"https://registry.npmjs.org/grunt-ver/-/grunt-ver-0.1.0.tgz","integrity":"sha512-2DfsmvQN65FaLp5ZOTBoXbLQyw+76VuPsDJjTxDc1pcJafKhlPmwJpQdblgmrzNGwCv0yqjZA0wm85zwXHQsbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID3nLCURkHOLG5L52ZILn2nX7ja3LxamkFm3o79D2Zm1AiEAmkBzFrTs/LfR11lPxmC0JBODSN3Yk0pS26JzCD19EOs="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"chrisdanford","email":"chrisdanford@gmail.com"},"maintainers":[{"name":"chrisdanford","email":"chrisdanford@gmail.com"}],"directories":{}},"0.1.1":{"name":"grunt-ver","description":"Add hashes to file names and update references to renamed files","version":"0.1.1","homepage":"https://github.com/chrisdanford/grunt-ver","author":{"name":"Chris Danford","email":"chrisdanford@gmail.com"},"repository":{"type":"git","url":"https://github.com/chrisdanford/grunt-ver.git"},"bugs":{"url":"https://github.com/chrisdanford/grunt-ver/issues"},"licenses":[{"type":"MIT","url":"https://github.com/buunguyen/grunt-mindirect/blob/master/LICENSE-MIT"}],"main":"tasks/grunt-ver","engines":{"node":">=0.6.0"},"devDependencies":{"grunt":"0.3.x"},"keywords":["gruntplugin"],"_id":"grunt-ver@0.1.1","dist":{"shasum":"323522ab9ba795e9f08a3c7d06ae947077243ea9","tarball":"https://registry.npmjs.org/grunt-ver/-/grunt-ver-0.1.1.tgz","integrity":"sha512-l/GYrdEr3MgI7dGVNIDqJsdjKYjO70jFavmzmntRaf1GETRuXXnUeGDKOmFAqLx6cDQXDomHUiCk5IQjDOg9XQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEG8GdL7lLsD257yZscdX1o75WAs2/MWq1+/ag4ks9vWAiEArnrjE8RWWp4IKu0/KPaMJsyv+dMqaWL0XSemkHtUNX4="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"chrisdanford","email":"chrisdanford@gmail.com"},"maintainers":[{"name":"chrisdanford","email":"chrisdanford@gmail.com"}],"directories":{}},"0.1.4":{"name":"grunt-ver","description":"Add hashes to file names and update references to renamed files","version":"0.1.4","homepage":"https://github.com/chrisdanford/grunt-ver","author":{"name":"Chris Danford","email":"chrisdanford@gmail.com"},"repository":{"type":"git","url":"https://github.com/chrisdanford/grunt-ver.git"},"bugs":{"url":"https://github.com/chrisdanford/grunt-ver/issues"},"licenses":[{"type":"MIT","url":"https://github.com/buunguyen/grunt-mindirect/blob/master/LICENSE-MIT"}],"main":"tasks/grunt-ver","engines":{"node":">=0.6.0"},"devDependencies":{"grunt":"0.3.x"},"keywords":["gruntplugin"],"_id":"grunt-ver@0.1.4","dist":{"shasum":"b5408fa7eb7fd0a5a1642253cad2ee22ea4cc5db","tarball":"https://registry.npmjs.org/grunt-ver/-/grunt-ver-0.1.4.tgz","integrity":"sha512-s10jvfb1F5MJzIGDb2zzaQEq60rD9Y6MfSuqVCoIFTzMvibmuKXWkOZW94liQSysD3MCHRn3hI526i8W3n88jg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmlGbxYHV6IsA+MgzqNjWsErx8cApG9w0kogc82QxKHQIgU6vFf4ZfZ5HS4n7k6/Xc162pemvLVG4cD1wlD07Hj7Q="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"chrisdanford","email":"chrisdanford@gmail.com"},"maintainers":[{"name":"chrisdanford","email":"chrisdanford@gmail.com"}],"directories":{}},"0.1.5":{"name":"grunt-ver","description":"Add hashes to file names and update references to renamed files","version":"0.1.5","homepage":"https://github.com/chrisdanford/grunt-ver","author":{"name":"Chris Danford","email":"chrisdanford@gmail.com"},"repository":{"type":"git","url":"https://github.com/chrisdanford/grunt-ver.git"},"bugs":{"url":"https://github.com/chrisdanford/grunt-ver/issues"},"licenses":[{"type":"MIT","url":"https://github.com/buunguyen/grunt-mindirect/blob/master/LICENSE-MIT"}],"main":"tasks/grunt-ver","engines":{"node":">=0.6.0"},"devDependencies":{"grunt":"0.3.x"},"keywords":["gruntplugin"],"_id":"grunt-ver@0.1.5","dist":{"shasum":"f8e0f37e99883da26e1754160a1dc6670b56ff62","tarball":"https://registry.npmjs.org/grunt-ver/-/grunt-ver-0.1.5.tgz","integrity":"sha512-VkiPfbmE+8Ih7zMkYx/8CG1+4gZLS5kmTFjX4tCR/KiCDxs4IuSKy7C1tb0H0guwN2iqoch2lNHHL4AE5gNzaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClyaocgqAb6jUDeEPdY2P95/dBrvTbb3tXwNkYCwJEQAIhAJqwrbyJGtifQFMpOK4O6C8GzEj53zDXiOtOuuNB5iqx"}]},"_npmVersion":"1.1.62","_npmUser":{"name":"chrisdanford","email":"chrisdanford@gmail.com"},"maintainers":[{"name":"chrisdanford","email":"chrisdanford@gmail.com"}],"directories":{}},"0.1.6":{"name":"grunt-ver","description":"Add hashes to file names and update references to renamed files","version":"0.1.6","homepage":"https://github.com/chrisdanford/grunt-ver","author":{"name":"Chris Danford","email":"chrisdanford@gmail.com"},"repository":{"type":"git","url":"https://github.com/chrisdanford/grunt-ver.git"},"bugs":{"url":"https://github.com/chrisdanford/grunt-ver/issues"},"licenses":[{"type":"MIT","url":"https://github.com/buunguyen/grunt-mindirect/blob/master/LICENSE-MIT"}],"main":"tasks/grunt-ver","engines":{"node":">=0.6.0"},"devDependencies":{"grunt":"0.3.x"},"keywords":["gruntplugin"],"_id":"grunt-ver@0.1.6","dist":{"shasum":"b8a0ba73959ecec3bf0780953c962af61044e120","tarball":"https://registry.npmjs.org/grunt-ver/-/grunt-ver-0.1.6.tgz","integrity":"sha512-iyTYSrOQtBTI4BsdEmdxULfgSWkiL9Qe1iBIG2fx2BLrDz06JGnzRhMX0LMUKSIIOd1NRSnLlZqV14jDvYpj3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFaBKMdFBlgCH/5/fuYLdN1KtkFiigY+2tp2phGOhffUAiEApoWF6BVe1KOXCK7bxmFc6ssa+5v733cxqWoKye8vVRw="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"chrisdanford","email":"chrisdanford@gmail.com"},"maintainers":[{"name":"chrisdanford","email":"chrisdanford@gmail.com"}],"directories":{}},"0.2.2":{"name":"grunt-ver","description":"Add hashes to file names and update references to renamed files","version":"0.2.2","homepage":"https://github.com/chrisdanford/grunt-ver","author":{"name":"Chris Danford","email":"chrisdanford@gmail.com"},"repository":{"type":"git","url":"https://github.com/chrisdanford/grunt-ver.git"},"bugs":{"url":"https://github.com/chrisdanford/grunt-ver/issues"},"licenses":[{"type":"MIT","url":"https://github.com/chrisdanford/grunt-ver/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">=0.8.0"},"scripts":{"test":"grunt nodeunit -v"},"devDependencies":{"grunt":"~0.4.0","grunt-contrib-clean":"~0.4.0a","grunt-contrib-jshint":"~0.1.1","grunt-contrib-nodeunit":"~0.1.2","grunt-bump":"~0.0.2","grunt-exec":"~0.4.0","wrench":"~1.4.4"},"keywords":["gruntplugin","version","file name"],"_id":"grunt-ver@0.2.2","dist":{"shasum":"d433dbb7a8021f90c3b97539be0cbd1b846edcb6","tarball":"https://registry.npmjs.org/grunt-ver/-/grunt-ver-0.2.2.tgz","integrity":"sha512-bzyGkK55C4oRf3VLPAwVhHFupY6ViVVDPjZPSEDpqJcGTmyPRUBm6VQMDi591kONnucV2fI1/SyfCNbA0MK2DQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdsNMF4Y/V3MhwSssydPj2WvtHuZ6vbitonaipbaOxxAIgEBreDn0Ejtn5MrlnNYkPcIFnusiYPl8QH6xIZai6xb4="}]},"_npmVersion":"1.1.66","_npmUser":{"name":"chrisdanford","email":"chrisdanford@gmail.com"},"maintainers":[{"name":"chrisdanford","email":"chrisdanford@gmail.com"}],"directories":{}},"0.2.4":{"name":"grunt-ver","description":"Add hashes to file names and update references to renamed files","version":"0.2.4","homepage":"https://github.com/chrisdanford/grunt-ver","author":{"name":"Chris Danford","email":"chrisdanford@gmail.com"},"repository":{"type":"git","url":"https://github.com/chrisdanford/grunt-ver.git"},"bugs":{"url":"https://github.com/chrisdanford/grunt-ver/issues"},"licenses":[{"type":"MIT","url":"https://github.com/chrisdanford/grunt-ver/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">=0.8.0"},"scripts":{"test":"grunt nodeunit -v"},"devDependencies":{"grunt":"~0.4.0","grunt-contrib-clean":"~0.4.0a","grunt-contrib-copy":"~0.4.0","grunt-contrib-jshint":"~0.1.1","grunt-contrib-nodeunit":"~0.1.2","grunt-bump":"~0.0.2","grunt-exec":"~0.4.0","wrench":"~1.4.4"},"keywords":["gruntplugin","version","file name"],"_id":"grunt-ver@0.2.4","dist":{"shasum":"92f5c7ace85daa2c8f84d75e67ea166482ed2161","tarball":"https://registry.npmjs.org/grunt-ver/-/grunt-ver-0.2.4.tgz","integrity":"sha512-H2G3AE1v6Nxdzh9SiEuhuCovwUANWSB+cnyQBMIbH6K1oK84Q0SC05Ldpj93uouJB8uhk1gKvP8H163d0lV8CA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAwMFOV9ZuebnY392nz5HIdhzTScaOXA7OfkYOhoiS+fAiBJ7IKsYEeQIz6Wjjz6IVROphaZEgPxxx4tNnPlfhn1Zw=="}]},"_npmVersion":"1.1.66","_npmUser":{"name":"chrisdanford","email":"chrisdanford@gmail.com"},"maintainers":[{"name":"chrisdanford","email":"chrisdanford@gmail.com"}],"directories":{}},"0.3.9":{"name":"grunt-ver","description":"Add hashes to file names and update references to renamed files","version":"0.3.9","homepage":"https://github.com/chrisdanford/grunt-ver","author":{"name":"Chris Danford","email":"chrisdanford@gmail.com"},"repository":{"type":"git","url":"https://github.com/chrisdanford/grunt-ver.git"},"bugs":{"url":"https://github.com/chrisdanford/grunt-ver/issues"},"licenses":[{"type":"MIT","url":"https://github.com/chrisdanford/grunt-ver/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">=0.8.0"},"scripts":{"test":"grunt nodeunit -v"},"devDependencies":{"grunt":"~0.4.2","grunt-contrib-clean":"~0.5.0","grunt-contrib-copy":"~0.5.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-nodeunit":"~0.3.0","grunt-bump":"0.0.13","grunt-exec":"~0.4.3","wrench":"~1.5.6","lodash":"~2.4.1"},"keywords":["gruntplugin","version","file name","cdn"],"_id":"grunt-ver@0.3.9","dist":{"shasum":"e75c53675a42e1a8c080dc38821ea796eb4e7896","tarball":"https://registry.npmjs.org/grunt-ver/-/grunt-ver-0.3.9.tgz","integrity":"sha512-IPYXFI3e5A7E2XXEthmGa54ILKoSXok4xAQ7eHarh9jmxR2VVUcQj3VbbRMF5BB4bDYb6UCDDXy+k9qyPAQM9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBZ3OLBniQH3n6Z94GFwygUZP9fDeQkjvseK2nCuS3GlAiACGxa0k5NICeVNrAq873OhYcft/Uh0Xa0tTwkSY6iQUw=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"chrisdanford","email":"chrisdanford@gmail.com"},"maintainers":[{"name":"chrisdanford","email":"chrisdanford@gmail.com"}],"directories":{}},"0.5.1":{"name":"grunt-ver","description":"Add hashes to file names and update references to renamed files","version":"0.5.1","homepage":"https://github.com/chrisdanford/grunt-ver","author":{"name":"Chris Danford","email":"chrisdanford@gmail.com"},"repository":{"type":"git","url":"https://github.com/chrisdanford/grunt-ver.git"},"bugs":{"url":"https://github.com/chrisdanford/grunt-ver/issues"},"licenses":[{"type":"MIT","url":"https://github.com/chrisdanford/grunt-ver/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">=0.8.0"},"scripts":{"test":"grunt nodeunit -v"},"devDependencies":{"grunt":"~0.4.2","grunt-contrib-clean":"~0.5.0","grunt-contrib-copy":"~0.5.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-nodeunit":"~0.3.0","grunt-bump":"0.0.13","grunt-exec":"~0.4.3","wrench":"~1.5.6","lodash":"~2.4.1"},"keywords":["gruntplugin","version","file name","cdn"],"_id":"grunt-ver@0.5.1","dist":{"shasum":"e60ce25ee557672b3f1c2b6b4ffd44229bc5065a","tarball":"https://registry.npmjs.org/grunt-ver/-/grunt-ver-0.5.1.tgz","integrity":"sha512-XzbK8QpkfPVECTk+S3f6ElOPBhEoIjFukj9fqTRHDu6HfXTqq2K++Qmz7BWGdwtkNWYSXLdlZjOsWblipSW/bg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSuCL/KPZLBZgJ490DooI2Q75Tyfjgib+wVpMz5jZ2kwIhAJEfMm2MqpdZOJ+j6XmG5QI1FaqnGIYn9A1KOIJKOifg"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"chrisdanford","email":"chrisdanford@gmail.com"},"maintainers":[{"name":"chrisdanford","email":"chrisdanford@gmail.com"}],"directories":{}},"0.5.2":{"name":"grunt-ver","description":"Add hashes to file names and update references to renamed files","version":"0.5.2","homepage":"https://github.com/chrisdanford/grunt-ver","author":{"name":"Chris Danford","email":"chrisdanford@gmail.com"},"repository":{"type":"git","url":"https://github.com/chrisdanford/grunt-ver.git"},"bugs":{"url":"https://github.com/chrisdanford/grunt-ver/issues"},"licenses":[{"type":"MIT","url":"https://github.com/chrisdanford/grunt-ver/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">=0.8.0"},"scripts":{"test":"grunt nodeunit -v"},"devDependencies":{"grunt":"~0.4.2","grunt-contrib-clean":"~0.5.0","grunt-contrib-copy":"~0.5.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-nodeunit":"~0.3.0","grunt-bump":"0.0.13","grunt-exec":"~0.4.3","wrench":"~1.5.6","lodash":"~2.4.1"},"keywords":["gruntplugin","version","file name","cdn"],"gitHead":"2414ea9aa1c66d73c4ac014f7358fb0081dae84a","_id":"grunt-ver@0.5.2","_shasum":"b7a51c60f0cdb4eee919f4878a13de2b99fa8242","_from":".","_npmVersion":"1.5.0-alpha-2","_npmUser":{"name":"chrisdanford","email":"chrisdanford@gmail.com"},"maintainers":[{"name":"chrisdanford","email":"chrisdanford@gmail.com"}],"dist":{"shasum":"b7a51c60f0cdb4eee919f4878a13de2b99fa8242","tarball":"https://registry.npmjs.org/grunt-ver/-/grunt-ver-0.5.2.tgz","integrity":"sha512-Ha4pPtc8NQalEbWBSNCL7rDBWpl8U7Gp2htCtj/XdCQ9xedfZOwrfbztDQnksN+VtYS87ci6v9AUHtDbbk5BPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFe0obNnEi3JtWY6lBQn0X3KUJTF8bT29D3rdJJoB868AiEAqkxiRMG0HMGYDNngttDhRGPobXOy/D1oOEOkJASzGIc="}]},"directories":{}},"0.5.3":{"name":"grunt-ver","description":"Add hashes to file names and update references to renamed files","version":"0.5.3","homepage":"https://github.com/chrisdanford/grunt-ver","author":{"name":"Chris Danford","email":"chrisdanford@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/chrisdanford/grunt-ver.git"},"bugs":{"url":"https://github.com/chrisdanford/grunt-ver/issues"},"licenses":[{"type":"MIT","url":"https://github.com/chrisdanford/grunt-ver/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">=0.8.0"},"scripts":{"test":"grunt nodeunit -v"},"devDependencies":{"grunt":"~0.4.2","grunt-contrib-clean":"~0.5.0","grunt-contrib-copy":"~0.5.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-nodeunit":"~0.3.0","grunt-bump":"0.0.13","grunt-exec":"~0.4.3","wrench":"~1.5.6","lodash":"~2.4.1"},"keywords":["gruntplugin","version","file name","cdn"],"gitHead":"29b0a30bd4b59086089d9a72880cdb80e97de162","_id":"grunt-ver@0.5.3","_shasum":"60262f5d89bad641236b655d104009f690dfa304","_from":".","_npmVersion":"2.11.0","_nodeVersion":"0.12.1","_npmUser":{"name":"chrisdanford","email":"chrisdanford@gmail.com"},"dist":{"shasum":"60262f5d89bad641236b655d104009f690dfa304","tarball":"https://registry.npmjs.org/grunt-ver/-/grunt-ver-0.5.3.tgz","integrity":"sha512-TQ7tbTkplZO4CcvTs5GgYGPgThxbtK2BCsUgquKdJMoEPQfEqOpV6b+atbdsvQ743t6nkWIrUeQdktfSN2yPWw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBDEE7tmzK8qx8U8UnqlEgbS/EEeZdeFQyKAvxq3JSMFAiEAp/Gb1XKH1Qgm2y4NWAKfwYbO2omvze1P/aPLoFRXFyE="}]},"maintainers":[{"name":"chrisdanford","email":"chrisdanford@gmail.com"}],"directories":{}}},"readme":"# grunt-ver\n\nA [Grunt](https://github.com/cowboy/grunt) 0.4 [multi-task](https://github.com/cowboy/grunt/blob/master/docs/types_of_tasks.md) that does 3 things:\n\n1. Renames files in-place to contain a version tag that a hash of the file contents.\n\n2. (optional) Updates references to the renamed files inside other files.  Replacement is done in-place by searching\nfor the original filepath (e.g. 'static/images/logo.png') and replacing it by the versioned basename\n(e.g. 'static/images/logo.abc123.png').  You can specify which files to replace over using the 'references' option.\n\n3. (optional) Writes a json file containing the file rename information.  This is meant to be consumed by an external application.  For example, in a web application, you could read this file and emit a `<script>` tag that referenes a renamed .js file.  The contents of this file look something like:\n\n```\n{ \"foo.js\": \"foo.d41d8cd9.js\",\n  \"foo.png\": \"foo.d41d8cd9.png\",\n  \"foo.css\": \"foo.8967dedd.css\" }\n```\n\nVersioning and replacements are done in one or more 'phases'.  This is necessary when you update file\nreferences inside of files that also need to be versioned.  For example: CSS files refer to versioned\nimage files, but the CSS files themselves need to be versioned.  The CSS files cannot be versioned\nuntil the references have been updated because the version hash calculation depends on the file contents being\nfinalized.\n\n## Breaking Changes from < 0.5\n\nIf you're upgrading from a version < 0.5 to a version >= 0.5, please node that the algorithm for updating references has changed.  In versions < 0.5, the find/replace was based only on the basename of the file (\"logo.png\").  As of 0.5, the replacement is done based on the filepath (\"static/images/logo.png\").\n\n## Getting Started\nInstall the module with: `npm install grunt-ver`\n\nThen load it from your `grunt.js` file:\n\n```js\ngrunt.loadNpmTasks('grunt-ver');\n```\n\nIn your `grunt.js` file, add the follow task entry:\n\n```js\nversion: {\n  myapp: {\n    phases: [\n      {\n        files: [\n          'images/*.png'\n        ],\n        references: [\n          'css/*.css'\n        ]\n      },\n      {\n        files: [\n          'css/*.css',\n          'js/*.js'\n        ]\n      }\n    ],\n    versionFile: 'build/version.json'\n  }\n}\n```\n\nAfter the task is run, all files will have version tags, the CSS files will refer to the versioned images, and build/version.json will exist.\n\n## Options\n\n### forceVersion\n\nType: `String`\nOptional\n\nYou can force the version string to all files to a particular value using the forceversion option.  This is useful for development environments where stable file names are helpful for debugging and where cache busting isn't an issue.\n\n```js\nversion: {\n  myapp: {\n    forceVersion: \"dev\",\n    phases: [\n      {\n        files: [\n          'css/*.css',\n          'js/*.js'\n        ]\n      }\n    ],\n    versionFile: 'build/version.json'\n  }\n}\n```\n\n### baseDir\n\nType: `String`\nDefault: The directory of versionFile\n\nAll file paths inside of `versionFile` will be relative to `baseDir`.\n\n\n## Release History\n* 2015-06-13 0.5.3  Optimize reference replacement.\n* 2014-02-06 0.5.0  When updating references, find/replace longer filepaths instead of shorter basenames.  Using the old `version` option now generates a warning.\n* 2014-02-03 0.3.0  Added `baseDir` option.  Filepaths in versionFile are now relative to the directory of the versionFile.  The `version` option was renamed to `versionFile`.\n\n## License\nCopyright (c) 2014 Chris Danford\nLicensed under the MIT license.\n\n\n\n","maintainers":[{"name":"chrisdanford","email":"chrisdanford@gmail.com"}],"time":{"modified":"2022-06-18T16:15:19.430Z","created":"2012-10-26T07:01:58.109Z","0.1.0":"2012-10-26T07:01:59.899Z","0.1.1":"2012-10-28T18:15:31.669Z","0.1.4":"2012-11-03T23:07:41.335Z","0.1.5":"2012-11-03T23:08:26.330Z","0.1.6":"2012-11-03T23:08:55.534Z","0.2.2":"2013-02-24T18:43:13.772Z","0.2.4":"2013-02-24T20:05:10.374Z","0.3.9":"2014-02-04T05:01:00.165Z","0.5.1":"2014-02-06T17:06:00.154Z","0.5.2":"2015-03-12T23:57:36.281Z","0.5.3":"2015-06-13T06:45:50.217Z"},"author":{"name":"Chris Danford","email":"chrisdanford@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/chrisdanford/grunt-ver.git"},"readmeFilename":"README.md","homepage":"https://github.com/chrisdanford/grunt-ver","keywords":["gruntplugin","version","file name","cdn"],"bugs":{"url":"https://github.com/chrisdanford/grunt-ver/issues"},"users":{}}