{"name":"mocha-standard","description":"Integrate the JS standard to your Mocha tests","version":"1.0.0","author":{"name":"Rico Sta. Cruz","email":"rico@ricostacruz.com"},"bugs":{"url":"https://github.com/rstacruz/mocha-standard/issues"},"devDependencies":{"chai":"^3.0.0","mocha":"^2.2.5","sinon":"^1.15.4","standard":"^4.3.1"},"homepage":"https://github.com/rstacruz/mocha-standard#readme","keywords":["lint","mocha","semistandard","standard","test"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/rstacruz/mocha-standard.git"},"scripts":{"test":"mocha"},"gitHead":"bfe0abb04949b445782f99c2df87440a1a20df51","_id":"mocha-standard@1.0.0","_shasum":"12150cfdce405564068bac3f9e66661c3ccd15f8","_from":".","_npmVersion":"2.11.3","_nodeVersion":"2.3.1","_npmUser":{"name":"rstacruz","email":"rico@ricostacruz.com"},"maintainers":[{"name":"rstacruz","email":"rico@ricostacruz.com"}],"dist":{"shasum":"12150cfdce405564068bac3f9e66661c3ccd15f8","tarball":"http://registry-npm.ywwl.com/mocha-standard/download/mocha-standard-1.0.0.tgz","integrity":"sha512-TqXGgQkB+fEJTfTnnwuRgZHvcaNo0r35DgecYG62eN8G3WZxAzX8r/Zy0zAigUuYnNxHiS47jmkHgimrWGi6Bw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfRZbO8pwihSU9ByUQEw9xiMpYvgCsbsrbJtVl9Bxj5AIhANsINm2wvsIKtzJV3qWmYQszQfirB2eeAurq1qtmcnht"}],"size":3605,"noattachment":false,"key":"/mocha-standard/-/mocha-standard-1.0.0.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":1435831393821,"_cnpm_publish_time":1435831393821,"dist-tags":{"latest":"1.0.0"}}