{"name":"generate-collections","description":"Add the docs, includes, badges, and layouts collections, along with a few generic defaults to your generator.","version":"0.2.1","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":{"falsey":"^0.3.0","isobject":"^2.0.0"},"devDependencies":{"engine-base":"^0.1.2","generate":"^0.4.14","gulp":"^3.9.1","gulp-eslint":"^2.0.0","gulp-format-md":"^0.1.7","gulp-istanbul":"^0.10.3","gulp-mocha":"^2.2.0","mocha":"^2.4.5"},"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","update"],"lint":{"reflinks":true}},"gitHead":"35708665c5ac6e01fc4b0b76224382083f01a919","_id":"generate-collections@0.2.1","_shasum":"c6f6e223922f5c7e324d093772efc7faa2112da9","_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":"c6f6e223922f5c7e324d093772efc7faa2112da9","tarball":"http://registry-npm.ywwl.com/generate-collections/download/generate-collections-0.2.1.tgz","integrity":"sha512-qC3xKO6hHrl0Tz9syxr1DovUT87jZOK+F7FWeXBBj3nWbQm4icX1dvimQ6Nx9yAfcR2ofOREPVk2LDIckznEQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH95dWt7MAGjjMIR7UXia5/fQPkJ2vYUYtdFIGuejcqAAiBIj0AGoSVy+mkoymNn/TIJLj+t1jqo0FROng1SCyDiXA=="}],"size":3355,"noattachment":false,"key":"/generate-collections/-/generate-collections-0.2.1.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/generate-collections-0.2.1.tgz_1460896533682_0.8615925195626915"},"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":1460896534841,"_cnpm_publish_time":1460896534841,"dist-tags":{"latest":"0.3.9"}}