{"_id":"grunt-hogan-static","_rev":"27-86cc6bed2fba8fea094d9d259fc4f2ac","name":"grunt-hogan-static","description":"compile static templates using hogan.js","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"grunt-hogan-static","description":"compile static templates using hogan.js","version":"0.1.0","homepage":"https://github.com/dlasky/grunt-hogan-static","author":{"name":"Dan Lasky"},"repository":{"type":"git","url":"git://github.com/dlasky/grunt-hogan-static.git"},"bugs":{"url":"https://github.com/dlasky/grunt-hogan-static/issues"},"licenses":[{"type":"MIT","url":"https://github.com/dlasky/grunt-hogan-static/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"hogan.js":"*"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin hogan.js static"],"_id":"grunt-hogan-static@0.1.0","dist":{"shasum":"3cfef6aaa4b720f723100162bbb0b4afc249835c","tarball":"https://registry.npmjs.org/grunt-hogan-static/-/grunt-hogan-static-0.1.0.tgz","integrity":"sha512-MQgyinEvtdULESMOlVQmk7JFFkSiy6ixHf/2P3A9r6E3ug6pFWC4pmdpYQhKHj/nH06QWS9BHdnLFxprbFiuSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAmKKcmtivyFgqiB0HtMapUGC1mK6S0lbwr9WuAsJxBRAiEAmdrjQMTHd1NRLGLaCaIBZE/EJDJ8hGFh45Ej05S63R4="}]},"_from":".","_npmVersion":"1.2.12","_npmUser":{"name":"dlasky","email":"dlasky@mediamath.com"},"maintainers":[{"name":"dlasky","email":"dlasky@mediamath.com"}]},"0.1.1":{"name":"grunt-hogan-static","description":"compile static templates using hogan.js","version":"0.1.1","homepage":"https://github.com/dlasky/grunt-hogan-static","author":{"name":"Dan Lasky"},"repository":{"type":"git","url":"git://github.com/dlasky/grunt-hogan-static.git"},"bugs":{"url":"https://github.com/dlasky/grunt-hogan-static/issues"},"licenses":[{"type":"MIT","url":"https://github.com/dlasky/grunt-hogan-static/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"hogan.js":"*"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin hogan.js static"],"_id":"grunt-hogan-static@0.1.1","dist":{"shasum":"a8856761f95954da441bcfed2dc1a240d861dca4","tarball":"https://registry.npmjs.org/grunt-hogan-static/-/grunt-hogan-static-0.1.1.tgz","integrity":"sha512-zYeZi8wwqRaRXaKm25pccyM3hwqRimtoy1L7we0Z5dXk8i6Q+Enfe3rhCL0lMPdtxB7fR85x7FilzepSU/JJXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjd73XhJBJBmRckFc33d8ycV4XkbsRs0WkX9cjkDzVlQIhAMaGQrVZsHSnRIGCJulBz6aLxdw0dwKUJqfGHnm24YqA"}]},"_from":".","_npmVersion":"1.2.12","_npmUser":{"name":"dlasky","email":"dlasky@mediamath.com"},"maintainers":[{"name":"dlasky","email":"dlasky@mediamath.com"}]},"0.1.2":{"name":"grunt-hogan-static","description":"compile static templates using hogan.js","version":"0.1.2","homepage":"https://github.com/dlasky/grunt-hogan-static","author":{"name":"Dan Lasky"},"repository":{"type":"git","url":"git://github.com/dlasky/grunt-hogan-static.git"},"bugs":{"url":"https://github.com/dlasky/grunt-hogan-static/issues"},"licenses":[{"type":"MIT","url":"https://github.com/dlasky/grunt-hogan-static/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"hogan.js":"*","object-extend":"*"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin hogan.js static"],"_id":"grunt-hogan-static@0.1.2","dist":{"shasum":"d47a27c2c3f0792ec84f6e7ef31d2aa5bee3b888","tarball":"https://registry.npmjs.org/grunt-hogan-static/-/grunt-hogan-static-0.1.2.tgz","integrity":"sha512-NY6HsH8eTC9CD9o0gGqKozpVghZUhyq4GSbaCcJblJ6EgtpRG7DGaIyjbAKPy0hDraTOtf/ETLS1AtOiKf8K3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFOi5bZ8EAkpHW6RlLdTSKG35lvLUd70VtSoH9aQlG7CAiEA3Fylv/O6ydcfrd7XFVjH3Oncdzx4Lyouyldu+DkPsow="}]},"_from":".","_npmVersion":"1.2.12","_npmUser":{"name":"dlasky","email":"dlasky@mediamath.com"},"maintainers":[{"name":"dlasky","email":"dlasky@mediamath.com"}]},"0.1.3":{"name":"grunt-hogan-static","description":"compile static templates using hogan.js","version":"0.1.3","homepage":"https://github.com/dlasky/grunt-hogan-static","author":{"name":"Dan Lasky"},"repository":{"type":"git","url":"git://github.com/dlasky/grunt-hogan-static.git"},"bugs":{"url":"https://github.com/dlasky/grunt-hogan-static/issues"},"licenses":[{"type":"MIT","url":"https://github.com/dlasky/grunt-hogan-static/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"hogan.js":"*","object-extend":"*"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin hogan.js static"],"_id":"grunt-hogan-static@0.1.3","dist":{"shasum":"5acd141851900901bf3cdc9fde0dd48a7df174d4","tarball":"https://registry.npmjs.org/grunt-hogan-static/-/grunt-hogan-static-0.1.3.tgz","integrity":"sha512-5gN6fy3ACHF+vO1I/SnhBSp3lCAi1JYGyEvyMIpWcRmIbmN5sy9KKaJYcXTrzLnYi8mJ63X1Vw3q34fl2FAQvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEf+4hflC5vPekdbCezL0hpB39iYDmd6+f/9HtiD/whOAiAPcBbgVjroT3V3BHcnqealwOe/vMmEM6ZD5YHj7N77Tg=="}]},"_from":".","_npmVersion":"1.2.12","_npmUser":{"name":"dlasky","email":"dlasky@mediamath.com"},"maintainers":[{"name":"dlasky","email":"dlasky@mediamath.com"}]},"0.1.4":{"name":"grunt-hogan-static","description":"compile static templates using hogan.js","version":"0.1.4","homepage":"https://github.com/dlasky/grunt-hogan-static","author":{"name":"Dan Lasky"},"repository":{"type":"git","url":"git://github.com/dlasky/grunt-hogan-static.git"},"bugs":{"url":"https://github.com/dlasky/grunt-hogan-static/issues"},"licenses":[{"type":"MIT","url":"https://github.com/dlasky/grunt-hogan-static/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"hogan.js":"*","object-extend":"*"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin hogan.js static"],"_id":"grunt-hogan-static@0.1.4","dist":{"shasum":"d0cd6250897c62f531b75826554632129268a6de","tarball":"https://registry.npmjs.org/grunt-hogan-static/-/grunt-hogan-static-0.1.4.tgz","integrity":"sha512-mQp4uVxMbwN8fckJCuDxtOIV3bpZxNbYaIvcshTkvWeqTe2qFV6QTVWTV2Y4yFD2Q08IIw1oJiTh4H/Ly8g+GA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCImzrUQ7EKE8xUxVup+xdaGbN5RIcVATYT+/Llv5ipQIhAO/WEj+Vf9hOWls2umzXotDjnPg7Unoyf4nKzlFgGUJ0"}]},"_from":".","_npmVersion":"1.2.12","_npmUser":{"name":"dlasky","email":"dlasky@mediamath.com"},"maintainers":[{"name":"dlasky","email":"dlasky@mediamath.com"}]},"0.1.5":{"name":"grunt-hogan-static","description":"compile static templates using hogan.js","version":"0.1.5","homepage":"https://github.com/dlasky/grunt-hogan-static","author":{"name":"Dan Lasky"},"repository":{"type":"git","url":"git://github.com/dlasky/grunt-hogan-static.git"},"bugs":{"url":"https://github.com/dlasky/grunt-hogan-static/issues"},"licenses":[{"type":"MIT","url":"https://github.com/dlasky/grunt-hogan-static/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"hogan.js":"*","object-extend":"*"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin hogan.js static"],"_id":"grunt-hogan-static@0.1.5","dist":{"shasum":"18c250669955f1790789078b8c691c00042a817d","tarball":"https://registry.npmjs.org/grunt-hogan-static/-/grunt-hogan-static-0.1.5.tgz","integrity":"sha512-1hchDClvlc6HGPrbGnPHCM+AZml2HlbMgeBEA6zdwIHjZqeo+CzzsdrUPQAYXx/AY0wc3lPW0w0avszvdVNkSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFCAJ2RnX3l8oXeOUWfed3trkWFXewWuNj+jRpjt82EuAiA+vl8W2LHAMiFz0pi6Ir6xJPMbMT1R/PdyJS+nydY8dA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"dlasky","email":"dlasky@mediamath.com"},"maintainers":[{"name":"dlasky","email":"dlasky@mediamath.com"}]},"0.1.6":{"name":"grunt-hogan-static","description":"compile static templates using hogan.js","version":"0.1.6","homepage":"https://github.com/dlasky/grunt-hogan-static","author":{"name":"Dan Lasky"},"repository":{"type":"git","url":"git://github.com/dlasky/grunt-hogan-static.git"},"bugs":{"url":"https://github.com/dlasky/grunt-hogan-static/issues"},"licenses":[{"type":"MIT","url":"https://github.com/dlasky/grunt-hogan-static/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"hogan.js":"*","object-extend":"*"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin hogan.js static"],"_id":"grunt-hogan-static@0.1.6","dist":{"shasum":"6937230fcff75cd8c887fef8bde5dbf5b60f84d1","tarball":"https://registry.npmjs.org/grunt-hogan-static/-/grunt-hogan-static-0.1.6.tgz","integrity":"sha512-KAz1UWRUNOgIUMB6IPm1nAJ6b9r5iT07iV6XY4AjC+dY99BIS73ZWl7Zbr4+QWoLa86YQZYj2Ycwd23Yc/E4SQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHcGYZt9sCJuSXYrFjILc3ca1EJ5n3l+CmXiZzemFCKQAiAkuGH+BBXC2hyRH/BwBGhuL6/lyV73sO9aihx7Bv+kQQ=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"dlasky","email":"dlasky@mediamath.com"},"maintainers":[{"name":"dlasky","email":"dlasky@mediamath.com"}]},"0.2.0":{"name":"grunt-hogan-static","description":"compile static templates using hogan.js","version":"0.2.0","homepage":"https://github.com/dlasky/grunt-hogan-static","author":{"name":"Dan Lasky"},"repository":{"type":"git","url":"git://github.com/dlasky/grunt-hogan-static.git"},"bugs":{"url":"https://github.com/dlasky/grunt-hogan-static/issues"},"licenses":[{"type":"MIT","url":"https://github.com/dlasky/grunt-hogan-static/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"hogan.js":"*","object-extend":"*"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","hogan.js","static"],"gitHead":"fc96ba1253295f857cf58796aa9c9333f973baf9","_id":"grunt-hogan-static@0.2.0","_shasum":"7e381063146edfbf6273c40a6ae7703c163b714f","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dlasky","email":"dlasky@mediamath.com"},"maintainers":[{"name":"dlasky","email":"dlasky@mediamath.com"}],"dist":{"shasum":"7e381063146edfbf6273c40a6ae7703c163b714f","tarball":"https://registry.npmjs.org/grunt-hogan-static/-/grunt-hogan-static-0.2.0.tgz","integrity":"sha512-/bRSDpHz/OjLgcAZay8IYSYF1BkbnyKug37a1tMryAqoLZKNkVskwPl1bmvGXHff7wxF3cKRBYLy8uEHx7lGxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoIfLShlXk4aEM+p4ZDG/q+4vVnoJdmtMIR11b9dlLUAIhAP18HOF/6yc1SbSS9X/5LcGOUC/CbD0yJDs3yWImdS+h"}]}},"0.3.0":{"name":"grunt-hogan-static","description":"compile static templates using hogan.js","version":"0.3.0","homepage":"https://github.com/dlasky/grunt-hogan-static","author":{"name":"Dan Lasky"},"repository":{"type":"git","url":"git://github.com/dlasky/grunt-hogan-static.git"},"bugs":{"url":"https://github.com/dlasky/grunt-hogan-static/issues"},"licenses":[{"type":"MIT","url":"https://github.com/dlasky/grunt-hogan-static/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"hogan.js":"*","object-extend":"*"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","hogan.js","static"],"gitHead":"465b676e8a293785fcaf12215474347da7c41c70","_id":"grunt-hogan-static@0.3.0","_shasum":"3eb3cc8471719f19659a82b4cbd6a410bfbab753","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dlasky","email":"dlasky@mediamath.com"},"maintainers":[{"name":"dlasky","email":"dlasky@mediamath.com"}],"dist":{"shasum":"3eb3cc8471719f19659a82b4cbd6a410bfbab753","tarball":"https://registry.npmjs.org/grunt-hogan-static/-/grunt-hogan-static-0.3.0.tgz","integrity":"sha512-mHsJGsCNhThnTpSnUgDVEuznAS9+RkhurQOSxsft0SRL5UEx99gV4axO+rcz0z4frp96DrQ4uuG+zq098uZ7ZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUHXK2GaEVo21hju62smJkHZUYwrQPnGnrjlvstAoQIgIgEJfSUlBPTUarG12BvXMdCsYtrEmOKehPxIkZ/n+yzHI="}]}}},"readme":"# grunt-hogan-static\n\n> compile static templates using hogan.js\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-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-hogan-static --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-hogan-static');\n```\n\n## The \"hogan_static\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `hogan_static` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n    hogan_static: {\n        target: {\n            options: {\n                data: {\n                    items: [\"a\", \"b\", \"c\"],\n                    title: 'title test',\n                    body: 'body test'\n                },\n                usePartials: false\n            },\n            files: {\n                'tmp/': ['test/fixtures/simple.html','test/fixtures/array.html'],\n            },\n        }\n    }\n});\n```\n\n### Options\n\n#### options.data\nType: `Object` or `String`\nDefault value: `undefined`\n\nJSON object data to pass to hogan for templating. If data is passed as a string (including grunt expansion) JSON will be read and stuffed into options.data. note that subsequent json will overwrite any existing keys\n\n#### options.usePartials\nType: `Boolean` or `String`\nDefault value: `false`\n\nA Boolean that tells the task to cache discovered templates for use as partials. If the value is a string this is treated as a file path (including grunt expansion) to search for partials. In this use case it is assumed that files on the regular file path are NOT partials.\n\n#### options.delimiters\nType: `String`\nDefault value: `'{{ }}'`\n\nA String value that can be used to override the default hogan.js mustache style delimiters.\n\n_a word of caution: this string is still subject to grunt templating so usage of <% %> is strongly discouraged_\n\n#### options.perFileData\nType: `Boolean`\nDefault value: `false`\n\nA Boolean that treats the data object as a hash that should be iterated over using the current filename minus its extension `test.html => data[test] = {}`. This allows for multiple templates to use different defined data in a single template pass.\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n* 0.3.0 - added support for 'keyed' data object to allow for per file rendering\n* 0.2.0 - reverted support for output extensions in favor of using grunt's native support\n* 0.1.6 - added support for delimiters and lambda exceptions in partials (thanks SethTippetts)\n* 0.1.2 - fixed some issues with output paths. added external JSON support for data. added separate partial dir support.\n","maintainers":[{"name":"dlasky","email":"dlasky@mediamath.com"}],"time":{"modified":"2022-06-18T15:09:22.571Z","created":"2013-12-17T14:39:05.157Z","0.1.0":"2013-12-17T14:39:06.209Z","0.1.1":"2013-12-31T19:35:23.517Z","0.1.2":"2014-02-27T20:55:09.901Z","0.1.3":"2014-02-27T22:00:20.064Z","0.1.4":"2014-02-28T18:28:01.982Z","0.1.5":"2014-02-28T20:03:50.643Z","0.1.6":"2014-10-31T16:56:52.539Z","0.2.0":"2015-06-24T13:25:41.435Z","0.3.0":"2015-08-28T22:10:59.626Z"},"author":{"name":"Dan Lasky"},"repository":{"type":"git","url":"git://github.com/dlasky/grunt-hogan-static.git"},"homepage":"https://github.com/dlasky/grunt-hogan-static","keywords":["gruntplugin","hogan.js","static"],"bugs":{"url":"https://github.com/dlasky/grunt-hogan-static/issues"},"readmeFilename":"README.md"}