{"_id":"grunt-codename","_rev":"113-40e20d9e111557ade118b7171e249e4d","name":"grunt-codename","description":"Utility to include a codename for your application based on version.","dist-tags":{"latest":"0.1.4"},"versions":{"0.0.3":{"name":"grunt-codename","description":"Utility to include a codename for your application based on version.","version":"0.0.3","codename":"Perseus Amber","patchName":"Pangolin","homepage":"https://github.com/scriptwerx/grunt-codename","author":{"name":"Paul Massey","email":"paul.massey@scriptwerx.co.uk","url":"http://www.scriptwerx.co.uk"},"repository":{"type":"git","url":"git://github.com/scriptwerx/grunt-codename.git"},"bugs":{"url":"https://github.com/scriptwerx/grunt-codename/issues"},"licenses":[{"type":"MIT","url":"https://github.com/scriptwerx/grunt-codename/blob/master/LICENSE"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"peerDependencies":{"grunt":"~0.4.1"},"devDependencies":{"grunt":"~0.4.1","grunt-bumpx":"~0.1.4"},"keywords":["gruntplugin","package","version","number","codename"],"dependencies":{},"_id":"grunt-codename@0.0.3","dist":{"shasum":"f1e9c0a32be28fe0b6b7325daa26c420b42c7250","tarball":"https://registry.npmjs.org/grunt-codename/-/grunt-codename-0.0.3.tgz","integrity":"sha512-uoHoQjI8D7y0nxvJHm7elG58kPp4EJG7m4uLcF3boiJ/aryqRmL0w1ITn4qCe992y197R6vWYWW4jfANwMSqNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwpVppCVoRsrP2DqsZSkmvSuhDheAhlQqt9uDzQZgiXgIhANpE6ahljMfjev0R3zERw1a/PDO7mpsxnZyH7VodMUTH"}]},"_from":"grunt-codename","_npmVersion":"1.3.11","_npmUser":{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"},"maintainers":[{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"}],"directories":{},"deprecated":"0.0.3"},"0.0.4":{"name":"grunt-codename","description":"Utility to include a codename for your application based on version.","version":"0.0.4","codename":"Perseus Amber","patchName":"Tayra","homepage":"https://github.com/scriptwerx/grunt-codename","author":{"name":"Paul Massey","email":"paul.massey@scriptwerx.co.uk","url":"http://www.scriptwerx.co.uk"},"repository":{"type":"git","url":"git://github.com/scriptwerx/grunt-codename.git"},"bugs":{"url":"https://github.com/scriptwerx/grunt-codename/issues"},"licenses":[{"type":"MIT","url":"https://github.com/scriptwerx/grunt-codename/blob/master/LICENSE"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"peerDependencies":{"grunt":"~0.4.1"},"devDependencies":{"grunt":"~0.4.1","grunt-bumpx":"~0.1.4"},"keywords":["gruntplugin","package","version","number","codename"],"dependencies":{},"_id":"grunt-codename@0.0.4","dist":{"shasum":"6c18f88aee33d29c64d70babe1383f4ed0e2c10d","tarball":"https://registry.npmjs.org/grunt-codename/-/grunt-codename-0.0.4.tgz","integrity":"sha512-sDq6Do2o0DhCKb8ruD+pgr0Qrtl+gqSytS0+/W+Ea1gXa2EAGoUjYJw+u2soFsdW4cQRTuo6t6jZ8znJoRW7kQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBHLIWeD9UeK95MeatZL4eyes2zFawMsioAHl9lRnTSBAiBPhPBs99pEJ6KaX0H+Sog4NWHwUHGWE2HrDBBfGdukNQ=="}]},"_from":"grunt-codename","_npmVersion":"1.3.11","_npmUser":{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"},"maintainers":[{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"}],"directories":{},"deprecated":"0.0.3"},"0.0.5":{"name":"grunt-codename","description":"Utility to include a codename for your application based on version.","version":"0.0.5","codename":"Perseus Amber","patchName":"Uromastix","homepage":"https://github.com/scriptwerx/grunt-codename","author":{"name":"Paul Massey","email":"paul.massey@scriptwerx.co.uk","url":"http://www.scriptwerx.co.uk"},"repository":{"type":"git","url":"git://github.com/scriptwerx/grunt-codename.git"},"bugs":{"url":"https://github.com/scriptwerx/grunt-codename/issues"},"licenses":[{"type":"MIT","url":"https://github.com/scriptwerx/grunt-codename/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"peerDependencies":{"grunt":"~0.4.1"},"devDependencies":{"grunt":"~0.4.1","grunt-bumpx":"~0.1.4"},"keywords":["scriptwerx","grunt","plugin","gruntplugin","package","version","number","codename"],"dependencies":{},"_id":"grunt-codename@0.0.5","dist":{"shasum":"fac78fa96355a95031318dc90a949b14d40f17da","tarball":"https://registry.npmjs.org/grunt-codename/-/grunt-codename-0.0.5.tgz","integrity":"sha512-M/biagzOdVRyvN0SPIjDEAPeA6FQ5FPbW+vuNg33agh40PBYSCO2xzNNWVOWO++QkIykwt0NqVZ4P9vR6k+Edw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBOp3grCRBrdKa/Jq2w8kIy60pZWxDjR5fUVooq+91KWAiEA7qvcNq54a/niMPYG2UEP78j6bWQRaUb5XiCCLMK3Ck0="}]},"_from":"grunt-codename","_npmVersion":"1.3.11","_npmUser":{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"},"maintainers":[{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"}],"directories":{},"deprecated":"0.0.3"},"0.0.7":{"name":"grunt-codename","description":"Utility to include a codename for your application based on version.","version":"0.0.7","codename":"Perseus Amber","patchName":"Malbrouck","homepage":"https://github.com/scriptwerx/grunt-codename","author":{"name":"Paul Massey","email":"paul.massey@scriptwerx.co.uk","url":"http://www.scriptwerx.co.uk"},"repository":{"type":"git","url":"git://github.com/scriptwerx/grunt-codename.git"},"bugs":{"url":"https://github.com/scriptwerx/grunt-codename/issues"},"licenses":[{"type":"MIT","url":"https://github.com/scriptwerx/grunt-codename/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"peerDependencies":{"grunt":"~0.4.1"},"devDependencies":{"grunt":"~0.4.1","grunt-bumpx":"~0.1.4"},"keywords":["scriptwerx","grunt","plugin","gruntplugin","package","version","number","codename"],"dependencies":{},"_id":"grunt-codename@0.0.7","dist":{"shasum":"4e8ecc40444dcb14e10fca346a15567961d58b86","tarball":"https://registry.npmjs.org/grunt-codename/-/grunt-codename-0.0.7.tgz","integrity":"sha512-zZ6IkuSK8mYZMlaQV1I+aTKZA7DcxeZUbqaK+oOes0s3z77mHQjZ4dmYAPvK0Y6N6jMiAZog9BYwblIbhiCiSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHuRHDn/GCzeKJN/8mjtjwncyltBSXlb55uIfV09LGiWAiEAo43p7nLX1w1YyBvvf9h6z8UHi/dLR7NzI+Emp4kn0G0="}]},"_from":"grunt-codename","_npmVersion":"1.3.11","_npmUser":{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"},"maintainers":[{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"}],"directories":{},"deprecated":"0.0.3"},"0.0.8":{"name":"grunt-codename","description":"Utility to include a codename for your application based on version.","version":"0.0.8","codename":"Perseus Amber","patchName":"Balbul","homepage":"https://github.com/scriptwerx/grunt-codename","author":{"name":"Paul Massey","email":"paul.massey@scriptwerx.co.uk","url":"http://www.scriptwerx.co.uk"},"repository":{"type":"git","url":"git://github.com/scriptwerx/grunt-codename.git"},"bugs":{"url":"https://github.com/scriptwerx/grunt-codename/issues"},"licenses":[{"type":"MIT","url":"https://github.com/scriptwerx/grunt-codename/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"peerDependencies":{"grunt":"~0.4.1"},"devDependencies":{"grunt":"~0.4.1","grunt-bumpx":"~0.1.4"},"keywords":["scriptwerx","grunt","plugin","gruntplugin","package","version","number","codename"],"dependencies":{},"_id":"grunt-codename@0.0.8","dist":{"shasum":"eb19c0dbcd412cd852682e6c844038ca006c36bd","tarball":"https://registry.npmjs.org/grunt-codename/-/grunt-codename-0.0.8.tgz","integrity":"sha512-rLMjzr8KoTfu5BP1aQlh3WfpOqmPni8fpoZscUZeQDcEC+QdWCX1bbRphpjmAUmgl3ChdcjYmoTFuDXImPtvKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6tECP7BOj6eNv7RHlaIsIF44jdU8BJP5PsiU9UxZj5wIgTNtfFbWFrVKbwDbXj5rggOlJUKaM2ZZ7QW7fMPouW2g="}]},"_from":"grunt-codename","_npmVersion":"1.3.11","_npmUser":{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"},"maintainers":[{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"}],"directories":{},"deprecated":"0.0.3"},"0.0.9":{"name":"grunt-codename","description":"Utility to include a codename for your application based on version.","version":"0.0.9","codename":"Perseus Amber","patchName":"Zokor","homepage":"https://github.com/scriptwerx/grunt-codename","author":{"name":"Paul Massey","email":"paul.massey@scriptwerx.co.uk","url":"http://www.scriptwerx.co.uk"},"repository":{"type":"git","url":"git://github.com/scriptwerx/grunt-codename.git"},"bugs":{"url":"https://github.com/scriptwerx/grunt-codename/issues"},"licenses":[{"type":"MIT","url":"https://github.com/scriptwerx/grunt-codename/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"peerDependencies":{"grunt":"~0.4.1"},"devDependencies":{"grunt":"~0.4.1","grunt-bumpx":"~0.1.4"},"keywords":["scriptwerx","grunt","plugin","gruntplugin","package","version","number","codename"],"dependencies":{},"_id":"grunt-codename@0.0.9","dist":{"shasum":"d81305f6345dee9bd0160e66c7c35fcd5e7904f7","tarball":"https://registry.npmjs.org/grunt-codename/-/grunt-codename-0.0.9.tgz","integrity":"sha512-gSiAaEHxhMJuAWy/SnfAhuo0VesVMqXRsaN9dC3xclaAtnSuiJ33TT4/7m5Pwazlj1Epc5dW12vDTR6R9UqZgw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRYGfkfBeyQsJEHKvl28fwliwG5VBU6macDZ0zs3Zh1gIhANTpAThUizjZDa8pLcEHLK6fBD0wJCEi57q8WU6XkDQ9"}]},"_from":"grunt-codename","_npmVersion":"1.3.8","_npmUser":{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"},"maintainers":[{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"}],"directories":{},"deprecated":"0.0.3"},"0.1.0":{"name":"grunt-codename","description":"Utility to include a codename for your application based on version.","version":"0.1.0","codename":"Bronze Marklar","patchName":"","homepage":"https://github.com/scriptwerx/grunt-codename","author":{"name":"Paul Massey","email":"paul.massey@scriptwerx.co.uk","url":"http://www.scriptwerx.co.uk"},"repository":{"type":"git","url":"git://github.com/scriptwerx/grunt-codename.git"},"bugs":{"url":"https://github.com/scriptwerx/grunt-codename/issues"},"licenses":[{"type":"MIT","url":"https://github.com/scriptwerx/grunt-codename/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"peerDependencies":{"grunt":"~0.4.1"},"devDependencies":{"grunt":"~0.4.1","grunt-bumpx":"~0.1.4"},"keywords":["scriptwerx","grunt","plugin","gruntplugin","package","version","number","codename"],"dependencies":{},"_id":"grunt-codename@0.1.0","dist":{"shasum":"57d30998e54c83e196b879a387c80584081fa97b","tarball":"https://registry.npmjs.org/grunt-codename/-/grunt-codename-0.1.0.tgz","integrity":"sha512-O/BEamN7FfYmKYtSnlFM2HO9vGm0J9/Fy4nrZzbL+VHgxIGzPC4Jg1cGvVgCoRpzYD78hQmIrjMOms2KaDBpyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE4aUSnFcPT2PNFLZByfCifPnJzAE4QcTZff6fJ3z2bsAiBnekgbVFC6JMgS18fcE1W44VNaq4VCmjgSKIBs+k8TXw=="}]},"_from":"grunt-codename","_npmVersion":"1.3.8","_npmUser":{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"},"maintainers":[{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"}],"directories":{},"deprecated":"0.0.3"},"0.1.1":{"name":"grunt-codename","description":"Utility to include a codename for your application based on version.","version":"0.1.1","codename":"Bronze Marklar","patchName":"Saiga","homepage":"https://github.com/scriptwerx/grunt-codename","author":{"name":"Paul Massey","email":"paul.massey@scriptwerx.co.uk","url":"http://www.scriptwerx.co.uk"},"repository":{"type":"git","url":"git://github.com/scriptwerx/grunt-codename.git"},"bugs":{"url":"https://github.com/scriptwerx/grunt-codename/issues"},"licenses":[{"type":"MIT","url":"https://github.com/scriptwerx/grunt-codename/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"peerDependencies":{"grunt":"~0.4.1"},"devDependencies":{"grunt":"~0.4.1","grunt-bumpx":"~0.1.4"},"keywords":["scriptwerx","grunt","plugin","gruntplugin","package","version","number","codename"],"dependencies":{},"_id":"grunt-codename@0.1.1","dist":{"shasum":"57c6ed6a5cde405e634b73b6635b7f92603a2cc6","tarball":"https://registry.npmjs.org/grunt-codename/-/grunt-codename-0.1.1.tgz","integrity":"sha512-mFhkGKLTAQRHmZi+406/Q+tEWiJdOa3kuLr1yMA2fynN7WS8itmNrIAMg7tDQYeVKWW9l7NoBTb1LYjLTTncNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCry4h5afB6HjV4CegxRb08zXH0Os3TjKqndBxcSGkXUAIhAO2GuEIvyFwl6AXhtUvLq3aeBs0YwPlMVQyLRLPlg1lG"}]},"_from":"grunt-codename","_npmVersion":"1.3.11","_npmUser":{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"},"maintainers":[{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"}],"directories":{},"deprecated":"0.0.3"},"0.1.2":{"name":"grunt-codename","description":"Utility to include a codename for your application based on version.","version":"0.1.2","codename":"Bronze Marklar","patchName":"Ithomiid","homepage":"https://github.com/scriptwerx/grunt-codename","author":{"name":"Paul Massey","email":"paul.massey@scriptwerx.co.uk","url":"http://www.scriptwerx.co.uk"},"repository":{"type":"git","url":"git://github.com/scriptwerx/grunt-codename.git"},"bugs":{"url":"https://github.com/scriptwerx/grunt-codename/issues"},"licenses":[{"type":"MIT","url":"https://github.com/scriptwerx/grunt-codename/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"peerDependencies":{"grunt":"~0.4.1"},"devDependencies":{"grunt":"~0.4.1","grunt-bumpx":"~0.1.4"},"keywords":["scriptwerx","grunt","plugin","gruntplugin","package","version","number","codename"],"dependencies":{},"_id":"grunt-codename@0.1.2","dist":{"shasum":"406f077b59c700ebbcbdf7ee49b0d99f51e2b0c2","tarball":"https://registry.npmjs.org/grunt-codename/-/grunt-codename-0.1.2.tgz","integrity":"sha512-wDIKaQIbH6g4SvDmLrUYL6aBLNLmzSJRIGZWQN7j2S0DajcIBRKaLoc7qKLgdg4bveYcqXJqBXzu9phxzgQptg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOgR3PRBPASgUU1GEjIZ8IgCQmrbyi6nX5bwxXCCe0GwIgZpjNu/6ZNlgHoDxap1nHrF6Eoi9nrVaPBkAIgzG3J4g="}]},"_from":"grunt-codename","_npmVersion":"1.3.11","_npmUser":{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"},"maintainers":[{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"}],"directories":{},"deprecated":"0.0.3"},"0.1.3":{"name":"grunt-codename","description":"Utility to include a codename for your application based on version.","version":"0.1.3","codename":"Bronze Marklar","patchName":"Pangolin","homepage":"https://github.com/scriptwerx/grunt-codename","author":{"name":"Paul Massey","email":"paul.massey@scriptwerx.co.uk","url":"http://www.scriptwerx.co.uk"},"repository":{"type":"git","url":"git://github.com/scriptwerx/grunt-codename.git"},"bugs":{"url":"https://github.com/scriptwerx/grunt-codename/issues"},"licenses":[{"type":"MIT","url":"https://github.com/scriptwerx/grunt-codename/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"peerDependencies":{"grunt":"~0.4.1"},"devDependencies":{"grunt":"~0.4.1","grunt-bumpx":"~0.1.4"},"keywords":["scriptwerx","grunt","plugin","gruntplugin","package","version","number","codename"],"dependencies":{},"gitHead":"d5408f601c4a44b187d37526c8e090a20cc11221","_id":"grunt-codename@0.1.3","_shasum":"bcac64c6149deb7d2cf0e97b2dff462b969275eb","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"},"maintainers":[{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"}],"dist":{"shasum":"bcac64c6149deb7d2cf0e97b2dff462b969275eb","tarball":"https://registry.npmjs.org/grunt-codename/-/grunt-codename-0.1.3.tgz","integrity":"sha512-Id4hrJiXEm/vfBsAsmTCNxJrH1alQsUVPPFxjYVVpTmfu47CuDz1kKqX1HfW1C/12+r4PtmlClDN9EICbee2Jg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFvattUibfrwNHw4Lzc+Pm1ECLo/orvntdXkJt9OvaFwIgWLmGqbCWIhFQMeq720ehX0KNo/GOm8DQY6jl/mERymA="}]}},"0.1.4":{"name":"grunt-codename","description":"Utility to include a codename for your application based on version.","version":"0.1.4","codename":"Bronze Marklar","patchName":"Tayra","homepage":"https://github.com/scriptwerx/grunt-codename","author":{"name":"Paul Massey","email":"paul.massey@scriptwerx.co.uk","url":"http://www.scriptwerx.co.uk"},"repository":{"type":"git","url":"git://github.com/scriptwerx/grunt-codename.git"},"bugs":{"url":"https://github.com/scriptwerx/grunt-codename/issues"},"licenses":[{"type":"MIT","url":"https://github.com/scriptwerx/grunt-codename/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">=4.4.5"},"scripts":{"start":"grunt"},"dependencies":{},"peerDependencies":{"grunt":"~1.0.1"},"devDependencies":{"grunt":"~1.0.1","grunt-bumpx":"~0.2.1"},"keywords":["scriptwerx","grunt","plugin","gruntplugin","package","version","number","codename"],"gitHead":"ea55a1e9d0f791aebdcb9f5a72f2373b0872cb65","_id":"grunt-codename@0.1.4","_shasum":"1aa3afb8356f578cad52cb887853112a70f976c0","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"},"maintainers":[{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"}],"dist":{"shasum":"1aa3afb8356f578cad52cb887853112a70f976c0","tarball":"https://registry.npmjs.org/grunt-codename/-/grunt-codename-0.1.4.tgz","integrity":"sha512-9+QMJIOd5psZDXSlQeI+8c9gZTUbz4GDRRnUBKPZ1jHtu1FwMy800QvIUy8Gx8XTgXfnKV74eP4+Fr391e+VgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDS11ly3azTSUFHsw0eU/jxCRG7rDxXvOg9RTkTlE/E4QIhAKZ5uPlShttygqGPD6LEUB6bgEWOzokCLwsfFRaEN0vg"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/grunt-codename-0.1.4.tgz_1466410225445_0.8795444704592228"}}},"readme":"# [grunt-codename](id:mainTitle)\n\n[![GitHub version][badge-github-version-image]][badge-npm-url] [![Dependencies](https://david-dm.org/scriptwerx/grunt-codename.svg)](https://david-dm.org/scriptwerx/grunt-codename) [![Built with Grunt][badge-grunt-image] ][badge-grunt-url] ![Progress](http://progressed.io/bar/100)\n\n[![NPM][badge-npm-image]][badge-npm-url]\n\nUtility to include a codename for your application based on version (up-to v10.X.X-X).\n\nThis works great alongside version bump utility: [grunt-bumpx][] for keeping your version numbers and names up-to-date with each build.\n\nIncluded codenames and patchNames created with the help of the excellent [codenamegenerator.com][] website.\n\n## Getting started\n\nThis plugin requires Grunt `~1.0.1`\n\nIf you haven't used [Grunt][] before, be sure to check out the [Getting Started][] guide, as it explains how to create a [Gruntfile][] as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-codename --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```javascript\ngrunt.loadNpmTasks('grunt-codename');\n```\n\nThe project follows the [SemVer][] guidelines for version numbers; specifically following: `1.2.3-1` being `MAJOR.MINOR.PATCH-BUILD`.\n\n**N.B. The supplied codenames and patchNames only include suport for single-digit numbers used for minor and patch of the *version* field (and major up to 10) - you must supply your own custom codenames and patchNames if you can't handle this restriction (but that's a lot of names)!**\n\n## The \"codename\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `codename` to the data object passed into `grunt.initConfig()`.\n\n```javascript\ngrunt.initConfig({\n    codename: {\n        options: {\n            // Task-specific options go here.\n        },\n        src: [\n            // Target-specific files go here.\n        ]\n\t}\n})\n```\n\n**codename** allows to set the codename and patchName based on the version number of the configuration files (package.json, manifest.json, etc.) in your project. Only JSON files are supported, and each file **must** have a `version` field compliant to [SemVer][] guidelines; specifically following: `1.2.3-1` being `MAJOR.MINOR.PATCH-BUILD`.\n\n**Remember: The supplied codenames and patchNames only include suport for single-digit numbers used for minor and patch of the *version* field (and major up to 10) - you must supply your own custom codenames and patchNames if you can't handle this restriction (but that's a lot of names)!**\n\n### Example JSON\n\n**codename** is designed to update your *package.json*, *manifest.json* or any other JSON file with a *\"version\"* field (configured as noted above).\n\nAn example of a *manifest.json* file is below:\n\n```json\n{\n\t\"name\": \"My Test Application\",\n\t\"version\": \"1.3.2-16\",\n\t\"codename\": \"\",\n\t\"patchName\": \"\",\n\t\"description\": \"A test application for me.\"\n}\n```\n\nOnce **codename** has been used (with patchNames enabled); the *manifest.json* file would be updated automatically as follows:\n\n```json\n{\n\t\"name\": \"My Test Application\",\n\t\"version\": \"1.3.2-16\",\n\t\"codename\": \"Honiara Nimitz\",\n\t\"patchName\": \"Ithomiid\",\n\t\"description\": \"A test application for me.\"\n}\n```\n\n### Options\n\noptions.* | Type | Default | Description\n---|:---:|:---:|---\npatch|`Boolean`|`false`|Generate a name for the *patch* version as well as the main codename.\ndata|`JSON`|`undefined`|Use custom JSON for the codenames (and patchNames as required).\ncodenames|`Object`|`undefined`|Use a custom object for codenames.\npatchNames|`Object`|`undefined`|Use a custom object for patchNames.\n\n#### Default Options\nRunning the task in this way, the `codename` field of each source file will be automatically changed to the correct codename for the build release.\n\n```javascript\ngrunt.initConfig({\n    codename: {\n        src: [\"package.json\", \"manifest.json\"]\n    }\n})\n```\n\n#### Custom Options\nRunning the task in this way, the `codename` and `patchName` fields of each traget file will be changed to the correct codename and patchName for the next minor release based on the names contained within the user-supplied *codenames.json* file.\n\n```javascript\ngrunt.initConfig({\n    codename: {\n        options: {\n            patch: true,\n            data: grunt.file.readJSON (\"codenames.json\")\n    \t},\n    \tsrc: [\"package.json\", \"manifest.json\"]\n    }\n})\n```\n\n## Contributing\n\nAny contribution to improve the project and/or expand it is welcome.\n\nIf you're interested in contributing to this project, take care to maintain the existing coding style.\n\nTo contribute:\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\nAdd unit tests for any new or changed functionality. Lint and test your code using [Grunt][grunt].\n\n## Changelog\n\nChanges, bug fixes and enhancements made to grunt-codename.\n\n### grunt-codename v0.1.4\n\n**\"Bronze Marklar\" (Tayra)**\n\n* [FEATURE] Merged pull request to allow support for tabSize/hardTab\n* [ENHANCEMENT] Updated dependencies\n\n### grunt-codename v0.1.3\n\n**\"Bronze Marklar\" (Pangolin)**\n\n* [ENHANCEMENT] Maintenance release\n* [ENHANCEMENT] Updated peerDependencies to support Grunt 1.0\n\n### grunt-codename v0.1.2\n\n**\"Bronze Marklar\" (Ithomiid)**\n\n* [ENHANCEMENT] Updated codename JSON to break apart codenames for future development/simplify editing.\n\t* [ENHANCEMENT] Updated code to use the new JSON structure.\n* [ENHANCEMENT] Code name error checking implemented - will now throw an error if codename is not found for the given version string.\n* [ENHANCEMENT] Cleaned up **getCodeName** and **getPatchName** methods.\n\n### grunt-codename v0.1.1\n\n**\"Bronze Marklar\" (Saiga)**\n\n* [BUGFIX] Fixed issue where patchName would be written even if not required.\n* [FEATURE] If patchName is not required it is removed (if present) from the JSON file.\n\t* [ENHANCEMENT] Grunt log will correctly reflect this.\n* [ENHANCEMENT] Updated comments within **codename.js**.\n* [ENHANCEMENT] Minor code cleanup and year references updated to 2014.\n\n### grunt-codename v0.1.0\n\n**\"Bronze Marklar\"**\n\n* [ENHANCEMENT] Included codenames up to v10.X.X-X.\n\n### grunt-codename v0.0.9\n\n**\"Perseus Amber\" (Zokor)**\n\n* [BUGFIX] Fixed issue with incorrect version data.\n\n### grunt-codename v0.0.8\n\n**\"Perseus Amber\" (Balbul)**\n\n* [BUGFIX] Fixed issue that displayed incorrect messages within the GruntJS log output.\n* [BUGFIX] Removed incorrect code from the included GruntFile.js for demonstration purposes.\n\n### grunt-codename v0.0.7\n\n**\"Perseus Amber\" (Malbrouck)**\n\n* [BUGFIX] Fixed issue that caused *patchName* to stop functioning correctly.\n\n### grunt-codename v0.0.6\n\n**\"Perseus Amber\" (Anoa)**\n\n* [ENHANCEMENT] Updated this documentation a little to make the current version restrictions clear.\n* [ENHANCEMENT] Updated the demo *GruntFile.js* (included) to demonstrate our own *autoBump* method which ensures that single-digit bump occurs when using the utility.\n\t* When using the configuration as per our demo *GruntFile.js* bumping the *patch* part of the version will automatically switch to the *minor* part of the version and in-turn the *major* part of the version. For example (always bumping *patch*):\n\t\t* Version `0.8.8-12` becomes `0.8.9-0` which in turn becomes `0.9.0-0`.\n\t\t* Version `0.9.8-12` becomes `0.9.9-0` which in turn becomes `1.0.0-0`.\n\t\t\nFor more information, please see the included [GruntFile.js](https://github.com/scriptwerx/grunt-codename/blob/master/Gruntfile.js).\n\n### grunt-codename v0.0.5\n\n**\"Perseus Amber\" (Uromastix)**\n\n* [ENHANCEMENT] Included this *README.md*.\n* [ENHANCEMENT] Updated documentation.\n\n\n### grunt-codename v0.0.4\n\n**\"Perseus Amber\" (Tayra)**\n\n* [ENHANCEMENT] Included this *README.md*.\n* [ENHANCEMENT] Updated documentation.\n\n### grunt-codename v0.0.3\n\n**\"Perseus Amber\" (Pangolin)**\n\n* [ENHANCEMENT] Moved codenames and patchNames to external JSON file.\n* [FEATURE] Added options to allow for better configuration.\n\n### grunt-codename v0.0.2\n\n**\"Perseus Amber\" (Ithomiid)**\n\n* [BUGFIX] Fixed issue with codename.\n\n### grunt-codename v0.0.1\n\n**\"Perseus Amber\" (Saiga)**\n\n* Initial commit.\n\n## License\nSee the [LICENSE][] distributed with the project.\n\n\n&nbsp;\n___\n\n[badge-github-version-image]: https://badge.fury.io/js/grunt-codename.svg\n[badge-grunt-image]: https://cdn.gruntjs.com/builtwith.png\n[badge-grunt-url]: http://gruntjs.com/\n[badge-npm-image]: https://nodei.co/npm/grunt-codename.png?downloads=true\n[badge-npm-url]: https://npmjs.org/package/grunt-codename\n[grunt]: http://gruntjs.com/\n[GruntFile]: http://gruntjs.com/sample-gruntfile\n[Getting Started]: http://gruntjs.com/getting-started\n[grunt-bumpx]: https://github.com/Ragnarokkr/grunt-bumpx/\n[SemVer]: http://semver.org/\n[LICENSE]: https://github.com/scriptwerx/grunt-codename/blob/master/LICENSE-MIT\n[codenamegenerator.com]: http://www.codenamegenerator.com\n\n[![githalytics.com alpha](https://cruel-carlota.pagodabox.com/96aa696085e74ad45d69615070f047d1 \"githalytics.com\")](http://githalytics.com/scriptwerx/grunt-codename)\n\n","maintainers":[{"name":"scriptwerx","email":"enquiries@scriptwerx.co.uk"}],"time":{"modified":"2022-06-18T14:38:56.071Z","created":"2013-12-16T17:21:30.155Z","0.0.1":"2013-12-16T17:21:33.807Z","0.0.2":"2013-12-16T17:25:36.242Z","0.0.3":"2013-12-18T08:17:25.073Z","0.0.4":"2013-12-18T09:33:03.483Z","0.0.5":"2013-12-23T12:07:31.407Z","0.0.6":"2013-12-23T17:31:00.067Z","0.0.7":"2013-12-23T17:31:51.947Z","0.0.8":"2013-12-24T09:11:35.657Z","0.0.9":"2013-12-27T20:08:12.934Z","0.1.0":"2013-12-27T20:14:52.294Z","0.1.1":"2014-01-02T10:38:28.838Z","0.1.2":"2014-01-02T12:11:49.115Z","0.1.3":"2015-03-19T16:21:13.160Z","0.1.4":"2016-06-20T08:10:27.829Z"},"author":{"name":"Paul Massey","email":"paul.massey@scriptwerx.co.uk","url":"http://www.scriptwerx.co.uk"},"repository":{"type":"git","url":"git://github.com/scriptwerx/grunt-codename.git"},"users":{"benboarder":true},"homepage":"https://github.com/scriptwerx/grunt-codename","keywords":["scriptwerx","grunt","plugin","gruntplugin","package","version","number","codename"],"bugs":{"url":"https://github.com/scriptwerx/grunt-codename/issues"},"readmeFilename":"README.md"}