{"name":"mocha-standard","version":"0.0.3","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":"2eaac85c44abe519551ae3b1717a83445ea5c721","_id":"mocha-standard@0.0.3","_shasum":"15c8beea9aff83ed42ac1baad9f5bd5d7de12969","_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":"15c8beea9aff83ed42ac1baad9f5bd5d7de12969","tarball":"http://registry-npm.ywwl.com/mocha-standard/download/mocha-standard-0.0.3.tgz","integrity":"sha512-wPahYCiJS9U+CB6cIkYYAYbvBsEU5sMjE6IEMJZzu4sNkpPnF8/1/wC03N/bv8r5bxphjMaqkHPZYxSt17Eqgw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH75bm3ZrMOq3RY1nMecDoYaDhgSw5LKTL7fZ3rw+6ZyAiEA6adpmeoJ6kgvPbljCcK83iPW+Mo7cpO177sSZxrESRI="}],"size":2462,"noattachment":false,"key":"/mocha-standard/-/mocha-standard-0.0.3.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":1434869348291,"_cnpm_publish_time":1434869348291,"dist-tags":{"latest":"1.0.0"}}