{"name":"mocha-standard","version":"0.0.5","description":"Integrate the JS standard to your Mocha tests","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/rstacruz/mocha-standard.git"},"peerDependencies":{"standard":"*"},"author":{"name":"Rico Sta. Cruz","email":"hi@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/mocha-standard/issues"},"homepage":"https://github.com/rstacruz/mocha-standard#readme","devDependencies":{"mocha":"^2.2.5","standard":"^4.3.1"},"gitHead":"64ccd9fd67c73c6b9bb51b1d7ced78a6b3ef13a5","_id":"mocha-standard@0.0.5","_shasum":"6aa44c12f1c678ab2a763ee27c86f732839a5e15","_from":".","_npmVersion":"2.11.1","_nodeVersion":"2.3.0","_npmUser":{"name":"rstacruz","email":"rico@ricostacruz.com"},"maintainers":[{"name":"rstacruz","email":"rico@ricostacruz.com"}],"dist":{"shasum":"6aa44c12f1c678ab2a763ee27c86f732839a5e15","tarball":"http://registry-npm.ywwl.com/mocha-standard/download/mocha-standard-0.0.5.tgz","integrity":"sha512-mJv67pZCoL7r0xtZa8rK2BdWXDJw6pgujugR70j1wz5fazlLk5XNwJFVKj0Wc1AprdJXLxXIPmEkefxppMs3wQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqjw1pTlpTlppzTLCeSqd3AsecQtcSkSjzfXAUWhwdWwIgHy7IZlFs77sBrqn890GMObnChkGf6MJxuCXbPXFSHrU="}],"size":2508,"noattachment":false,"key":"/mocha-standard/-/mocha-standard-0.0.5.tgz"},"readme":"# mocha-standard\n\n**Integrates [standard] into your mocha tests.** This allows you to enforce a \"one true\" JavaScript coding style in your project via Mocha tests.\n\n----\n\n![](https://raw.githubusercontent.com/rstacruz/mocha-standard/gh-pages/screenshot.png)\n\n----\n\n[![Status](http://img.shields.io/travis/rstacruz/mocha-standard/master.svg)](https://travis-ci.org/rstacruz/mocha-standard/ \"See test builds\")\n\n<br>\n\n## Features\n\nThis offers a finer alternative to adding *standard* into package.json's `scripts.test` block.\n\n* Runs in the same node process as mocha, removing maybe 500ms of startup time.\n* Use `mocha --watch` to recheck for style failures. `standard` is used programatically, removing a huge overhead (around 1500ms) in re-running it repeatedly with `--watch`.\n* Painlessly integrate standard into your travisci.org tests.\n\n(Your speed gains may be a bit different from my Pentium II, of course.)\n\n<br>\n\n## Usage\n\nInstall it:\n\n```sh\nnpm install --save-dev mocha-standard standard\n```\n\nThen add this test file to your Mocha suite:\n\n```js\n/* test/standard_test.js */\nit('conforms to standard', require('mocha-standard'))\n```\n\nTo configure what files to consume:\n\n```js\nvar standard = require('mocha-standard')\nit('conforms to standard', standard.files([ 'index.js', 'test/*.js' ]))\n```\n\n<br>\n\n## Semicolons\n\nTo use [semistandard] instead, use:\n\n```sh\nnpm install --save-dev mocha-standard semistandard\n```\n\n```js\n/* test/standard_test.js */\nit('conforms to standard', require('mocha-standard/semistandard'))\n```\n\n[semistandard]: https://github.com/Flet/semistandard\n\n<br>\n\n## Thanks\n\n**mocha-standard** © 2015+, Rico Sta. Cruz. Released under the [MIT] License.<br>\nAuthored and maintained by Rico Sta. Cruz with help from contributors ([list][contributors]).\n\n> [ricostacruz.com](http://ricostacruz.com) &nbsp;&middot;&nbsp;\n> GitHub [@rstacruz](https://github.com/rstacruz) &nbsp;&middot;&nbsp;\n> Twitter [@rstacruz](https://twitter.com/rstacruz)\n\n[MIT]: http://mit-license.org/\n[contributors]: http://github.com/rstacruz/mocha-standard/contributors\n[standard]: https://www.npmjs.com/package/standard\n","publish_time":1434872467167,"_cnpm_publish_time":1434872467167,"dist-tags":{"latest":"1.0.0"}}