{"name":"grunt-jsdoc","description":"Integrates jsdoc3 generation into your Grunt build","version":"0.5.5","homepage":"https://github.com/krampstudio/grunt-jsdoc","author":{"name":"Bertrand Chevrier","email":"chevrier.bertrand@gmail.com","url":"http://krampstudio.com"},"contributors":[{"name":"Mikhail Diatchenko","email":"mikhail.diatchenko@gmail.com","url":"http://www.webgear.co.nz"}],"repository":{"type":"git","url":"git://github.com/krampstudio/grunt-jsdoc.git"},"bugs":{"url":"https://github.com/krampstudio/grunt-jsdoc/issues"},"licenses":[{"type":"MIT","url":"https://github.com/krampstudio/grunt-jsdoc/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","bin":{"grunt-jsdoc":"bin/grunt-jsdoc"},"engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.4.3","grunt-contrib-clean":"latest","grunt-contrib-nodeunit":"latest","grunt-contrib-jshint":"latest"},"dependencies":{"jsdoc":"~3.2.2","ink-docstrap":"~0.4.5"},"peerDependencies":{"grunt":"~0.4.0"},"keywords":["gruntplugin","grunt","documentation","doc","jsdoc","jsdoc3"],"_id":"grunt-jsdoc@0.5.5","_shasum":"a1201a7dc7a0b7ad893a6ff19cb3be7eb3f743e5","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"krampstudio","email":"chevrier.bertrand@gmail.com"},"maintainers":[{"name":"krampstudio","email":"chevrier.bertrand@gmail.com"}],"dist":{"shasum":"a1201a7dc7a0b7ad893a6ff19cb3be7eb3f743e5","tarball":"http://registry-npm.ywwl.com/grunt-jsdoc/download/grunt-jsdoc-0.5.5.tgz","integrity":"sha512-KQWZBULJ9DjeLwO+gL3KdRLxPzsDaiRgqszpPeZPK5cePi8euMUbWu3TGFjF/DIUJBgvYx5cfkDyLQTBTzLvsQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHmKlW9wSgvKbjcOw/FiKQVvhLSHnVrjGFMz2AE3rpNvAiEA8Atbszys+q5497JePaikSlC0YiK6fLseSBPJb+z1b0M="}],"size":7432,"noattachment":false,"key":"/grunt-jsdoc/-/grunt-jsdoc-0.5.5.tgz"},"directories":{},"readme":"# grunt-jsdoc [![Build Status](https://travis-ci.org/krampstudio/grunt-jsdoc.png)](https://travis-ci.org/krampstudio/grunt-jsdoc) [![NPM version](https://badge.fury.io/js/grunt-jsdoc.png)](http://badge.fury.io/js/grunt-jsdoc) [![Built with Grunt](https://cdn.gruntjs.com/builtwith.svg)](https://gruntjs.com/)\n\n[![Npm Downloads](https://nodei.co/npm/grunt-jsdoc.png?downloads=true&stars=true)](https://nodei.co/npm/grunt-jsdoc.png?downloads=true&stars=true)\n\nThis plugin enables you to integrate the generation of comments based documentation into your Grunt build.\n\n\n\n## Generate your documentation\n\n### Install\n\nThis plugin requires Grunt `>=0.4.0`\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-jsdoc --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-jsdoc');\n```\n\n### Configuration\n\nFirst, add the `jsdoc` entry to the options of the `initConfig` method of your Gruntfile.js :\n\n```javascript\ngrunt.initConfig({\n    jsdoc : {\n        dist : {\n            src: ['src/*.js', 'test/*.js'],\n            options: {\n                destination: 'doc'\n            }\n        }\n    }\n});\n```\n\nThe supported options are\n\n * `src` : an array of pattern that matches the files to extract the documentation from. You can also [include a README](http://usejsdoc.org/about-including-readme.html).\n * `dest` : (alias to `options.destination`) set up the destination folder, the grunt way\n * `jsdoc`: (optional) the path to the jsdoc bin (needed only for some border line cases)\n * `options` : options used by jsdoc\n   * `destination`: the folder where the doc is generated\n   * ... All jsdoc options are available (see [usejsdocCli](http://usejsdoc.org/about-commandline.html) documentation).\n   * `ignoreWarnings` : (optional) do not show jsdoc warnings\n\n### Code Documentation\n\nThis plugin is a wrapper around [jsdoc3](https://github.com/jsdoc3/jsdoc). Please refer to the [documentation](http://usejsdoc.org) for the documentation details.\n\n### Templates\n\nThe plugin includes only the jsdoc3 template but you can configure any other jsdoc3 template. For example you can use [ink-docstrap](https://www.npmjs.com/package/ink-docstrap).\n\n```\nnpm install --save-dev ink-docstrap\n```\n\nAnd in your `Gruntfile.js` :\n\n```javascript\njsdoc : {\n    dist : {\n        src: ['src/**/*.js', 'README.md'],\n        options: {\n            destination : 'doc',\n               template : \"node_modules/ink-docstrap/template\",\n              configure : \"node_modules/ink-docstrap/template/jsdoc.conf.json\"\n        }\n    }\n}\n```\n\n## Generation\n\nTo generate the documentation, you need to call the `jsdoc` task :\n\n```bash\n$> grunt jsdoc\n```\n\nor integrate it to your build sequence :\n\n```javascript\ngrunt.registerTask('default', ['lint', 'test', 'jsdoc']);\n```\n\n## Compatibility\n\n### :warning: Migrate from `0.x.x` to `1.x.x` branch :\n\nI have removed the direct dependency to [ink-docstrap](https://www.npmjs.com/package/ink-docstrap). If you still want it, grab the dependency by yourself (`npm install --save-dev ink-docstrap`)\n\n### :warning: Migrate from `1.x.x` to `2.x.x` branch :\n\nThe `private` option follows now the default jsdoc behavior : `false` by default.\n\n## Contributions\n\nEvery contribution is more than welcomed. You can:\n - [report issues](https://github.com/krampstudio/grunt-jsdoc/issues)\n - Fix, improve the configuration, add new features. The best is to fork and submit a pull request\n - Test and adapt to other OS\n - Fix my English mistakes\n - Update the documentation\n - Create a better logo\n - [Offer me a coffee](https://gratipay.com/~krampstudio/) (I'm maintaining this plugin on my free time)\n\n### Upstream issues\n\n*For documentation related issues, please use the [jsdoc issue tracker](https://github.com/jsdoc3/jsdoc/issues)*\n\nTo be sure the issue comes from the Grunt plugin, you can check by comparing the results with a jsdoc command. Run the task with the `--debug` flag to retrieve the jsdoc command to run.\n\n## Release History\n * _2.4.0_ jsdoc 3.6.0 (security update) and upgrade node support\n    * _2.4.1_ security update\n * _2.3.0_ jsdoc 3.5.5 and up to date dependencies\n    * _2.3.1_ fix version of transitive dependency `marked` to prevent [regex dos](https://www.npmjs.com/advisories/812)\n * _2.2.0_ jsdoc 3.5.0\n    * _2.2.1_ fix version of transitive dependency `marked` to prevent xss\n * _2.1.0_ use `cross-spawn` instead of `cross-spawn-async`, add `generating` and `generated` grunt events\n * _2.0.0_ `private` behavior, `cross-spawn-async` instead of manual windows management\n * _1.1.0_ update to jsdoc 3.4.0 and make dest optional if a config file is set.\n * _1.0.0_ remove direct dependency to docstrap\n * _0.6.0_ jsdoc 3.0.0\n    * _0.6.4_ first stable using jsdoc 3.3.0\n    * _0.6.5_ code refactoring, docstrap 0.5.3, PR [#120](https://github.com/krampstudio/grunt-jsdoc/pull/120), better path management\n    * _0.6.6_ fix failing test\n    * _0.6.7_ Fix bug [#136](https://github.com/krampstudio/grunt-jsdoc/issues/136) and add more tests\n    * _0.6.8_ Fix bug [#140](https://github.com/krampstudio/grunt-jsdoc/issues/140), [#143](https://github.com/krampstudio/grunt-jsdoc/issues/143),\n    * _0.6.9_ Fix bug [#144](https://github.com/krampstudio/grunt-jsdoc/issues/144)\n    * _0.6.10_ Revert wrong moving away docstrap dep\n* _0.5.0_ Move to NPM dependencies instead of git, jsdoc 3.2.2 (Fix [#65](https://github.com/krampstudio/grunt-jsdoc/issues/65))\n   * _0.5.1_ Update repo name to prevent confusion with previous version\n   * _0.5.2_ Upgrade to Grunt 0.4.3 (PR [#74](https://github.com/krampstudio/grunt-jsdoc/pull/74))\n   * _0.5.3_ Fix peer deps issue\n   * _0.5.4_ Fix peer deps issue\n   * _0.5.5_ Update docstrap version\n   * _0.5.6_ Fix dependencies version and bug [#87](https://github.com/krampstudio/grunt-jsdoc/issues/87)\n   * _0.5.7_ Update readme, docstrap version\n   * _0.5.8_ Fix bug [#116](https://github.com/krampstudio/grunt-jsdoc/issues/116)\n * _0.4.0_ Update to jsdoc 3.2.0 stable, Fix [#37](https://github.com/krampstudio/grunt-jsdoc/issues/37), add integration tests\n   * _0.4.1_ Fix [#53](https://github.com/krampstudio/grunt-jsdoc/issues/53) and [#54](https://github.com/krampstudio/grunt-jsdoc/issues/54)\n   * _0.4.2_ Fix [#57](https://github.com/krampstudio/grunt-jsdoc/issues/57)\n   * _0.4.3_ Grunt 0.4.2 compliance, upgrade to jsdoc 3.2.2 and undeprecate the `dest` option ([#60](https://github.com/krampstudio/grunt-jsdoc/issues/60), [#63](https://github.com/krampstudio/grunt-jsdoc/issues/63) and [#66](https://github.com/krampstudio/grunt-jsdoc/issues/66))\n * _0.3.0_ Partial rewrite, Fix [#29](https://github.com/krampstudio/grunt-jsdoc/pull/30) and minor typos fixs\n   * _0.3.1_ Fix [#29](https://github.com/krampstudio/grunt-jsdoc/issues/29)\n   * _0.3.2_ Fix [#32](https://github.com/krampstudio/grunt-jsdoc/issues/32)\n   * _0.3.3_ Fix [#34](https://github.com/krampstudio/grunt-jsdoc/issues/34) and [#36](https://github.com/krampstudio/grunt-jsdoc/issues/34)\n * _0.2.0_ Migrate to grunt 0.4\n   * _0.2.1_ Fix [#10](https://github.com/krampstudio/grunt-jsdoc/issues/10)\n   * _0.2.2_ Fix [#11](https://github.com/krampstudio/grunt-jsdoc/issues/11)\n   * _0.2.3_ Fix [#14](https://github.com/krampstudio/grunt-jsdoc/pull/14) and [#15](https://github.com/krampstudio/grunt-jsdoc/issues/15)\n   * _0.2.4_ Fix Jsdoc 3 dependency to 3.1.1 tag, enables jsdoc options [#19](https://github.com/krampstudio/grunt-jsdoc/issues/19), enable to add jsdoc path [#13](https://github.com/krampstudio/grunt-jsdoc/issues/13) and add peerDependencies\n * _0.1.0_ First release, includes basic support of [jsdoc3]\n   * _0.1.1_ Fix [#2](https://github.com/krampstudio/grunt-jsdoc/issues/2)\n   * _0.1.2_ Fix [#4](https://github.com/krampstudio/grunt-jsdoc/issues/4)\n   * _0.1.3_ Fix [#7](https://github.com/krampstudio/grunt-jsdoc/pull/7), Add [feature #8](https://github.com/krampstudio/grunt-jsdoc/pull/8)\n   * _0.1.4_ Use `child_process.spawn` instead of `exec` to run the command\n\n\n## License\n\nCopyright (c) 2012 Bertrand Chevrier\nLicensed under the MIT license.\n\n","publish_time":1403171612233,"_cnpm_publish_time":1403171612233,"dist-tags":{"latest":"2.4.1"}}