{"name":"generate-collections","description":"Add the docs, includes, badges, and layouts collections, along with a few generic defaults to your generator.","version":"0.1.3","homepage":"https://github.com/jonschlinkert/generate-collections","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/generate-collections.git"},"bugs":{"url":"https://github.com/jonschlinkert/generate-collections/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","falsey":"^0.3.0","isobject":"^2.0.0","lazy-cache":"^1.0.3"},"devDependencies":{"generate":"^0.4.0","gulp":"^3.9.1","gulp-eslint":"^2.0.0","gulp-format-md":"*","gulp-istanbul":"^0.10.3","gulp-mocha":"^2.2.0","mocha":"*"},"keywords":["generate","generator","template","templates","verb","verb-generator","verbgenerator"],"verb":{"run":true,"toc":false,"layout":"default-dev","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["assemble","generate","verb"],"highlight":"generate-defaults"},"reflinks":["assemble","common-middleware","generate","verb"],"lint":{"reflinks":true}},"gitHead":"64f7f8dfeb0afb6501a2e9bd8f24c1da5a0d10c1","_id":"generate-collections@0.1.3","_shasum":"97c23eea5256e827980a18b807938e1f760c5c7d","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"97c23eea5256e827980a18b807938e1f760c5c7d","tarball":"http://registry-npm.ywwl.com/generate-collections/download/generate-collections-0.1.3.tgz","integrity":"sha512-K5ZckMc11br+wI6KnDbz4FKR51p0b4sWvCAE6RVGQH36mvxWNsp+lkc7TvT8apMGcuC59Ds8j6p8uxS2XrOlYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXgYFqzIOZbfjJlHzzQ6a8Wn9xMUhuBD4yKZwATC4zEQIhAIMTjuQerUGiXwoL/QRTf2nqdC67XNknkNuZPr4L43uV"}],"size":4178,"noattachment":false,"key":"/generate-collections/-/generate-collections-0.1.3.tgz"},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/generate-collections-0.1.3.tgz_1456235738500_0.7181127280928195"},"directories":{},"readme":"# generate-collections [![NPM version](https://img.shields.io/npm/v/generate-collections.svg?style=flat)](https://www.npmjs.com/package/generate-collections) [![NPM monthly downloads](https://img.shields.io/npm/dm/generate-collections.svg?style=flat)](https://npmjs.org/package/generate-collections) [![NPM total downloads](https://img.shields.io/npm/dt/generate-collections.svg?style=flat)](https://npmjs.org/package/generate-collections) [![Linux Build Status](https://img.shields.io/travis/generate/generate-collections.svg?style=flat&label=Travis)](https://travis-ci.org/generate/generate-collections)\n\n> Initializes a handful of (empty) template collections to your generator, such as docs, includes, badges, and layouts, along with a few generic defaults.\n\nYou might also be interested in [generate-file](https://github.com/generate/generate-file).\n\n## Install\n\nInstall as a `devDependency` with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save-dev generate-collections\n```\n\n## Usage\n\nUse as a plugin, to initialize commonly used [view collections](#collections-created) (no views are actually added to the collections).\n\n```js\nmodule.exports = function(app) {\n  app.use(require('generate-collections'));\n  // do other generator stuff\n};\n```\n\n## Collections created\n\nAdds the following view collections to your generator:\n\n### Renderable\n\nTemplates for files intended to be written to the file system.\n\n* `files`\n\n**Example usage**\n\n```js\napp.files('templates/*.md');\n```\n\n### Layouts\n\nTemplates to be used as layouts (for \"wrapping\" other templates or content):\n\n* `layouts`\n\n```js\napp.layouts('templates/layouts/*.md');\n```\n\n### Partials\n\nTemplates to be used as partials (for injecting into other templates)\n\n* `includes`\n* `badges`\n* `docs`\n\n```js\napp.partials('templates/partials/*.md');\n```\n\n## Smart plugin\n\nThis generator follows [base](https://github.com/node-base/base) \"smart plugin\" conventions, so it can be used as a plugin with any of the following libraries:\n\n* [generate](https://github.com/generate/generate): in your local `generator.js` file or globally installed `generate` generator.\n* [assemble](https://github.com/assemble/assemble): in your local `assemblefile.js` file or globally installed `assemble` generator.\n* [update](https://github.com/update/update): in your local `updatefile.js` file or globally installed `update` generator.\n* [verb](https://github.com/verbose/verb): in your local `verbfile.js` file or globally installed `verb` generator.\n\n## About\n\n### Related projects\n\n* [generate-license](https://www.npmjs.com/package/generate-license): Generate a license file for a GitHub project. | [homepage](https://github.com/generate/generate-license \"Generate a license file for a GitHub project.\")\n* [generate-mocha](https://www.npmjs.com/package/generate-mocha): Generate mocha test files. | [homepage](https://github.com/generate/generate-mocha \"Generate mocha test files.\")\n* [generate-node](https://www.npmjs.com/package/generate-node): Generate a node.js project, with everything you need to begin writing code and easily publish… [more](https://github.com/generate/generate-node) | [homepage](https://github.com/generate/generate-node \"Generate a node.js project, with everything you need to begin writing code and easily publish the project to npm.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on May 27, 2017._","publish_time":1456235744331,"_cnpm_publish_time":1456235744331,"dist-tags":{"latest":"0.3.9"}}