{"name":"gulp-jasmine","version":"4.0.0","description":"Run Jasmine tests","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/gulp-jasmine.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["bdd","framework","gulpplugin","jasmine","qunit","runner","spec","tap","tdd","test","testing","unit"],"dependencies":{"arrify":"^1.0.1","jasmine":"^3.1.0","jasmine-terminal-reporter":"^1.0.3","plugin-error":"^1.0.1","through2":"^2.0.3"},"devDependencies":{"ava":"*","gulp":"^4.0.0","vinyl":"^2.1.0","xo":"*"},"xo":{"envs":["jasmine"]},"ava":{"serial":true},"gitHead":"e292955ebb337d46e32a6f1cc6eae15e3317a61a","bugs":{"url":"https://github.com/sindresorhus/gulp-jasmine/issues"},"homepage":"https://github.com/sindresorhus/gulp-jasmine#readme","_id":"gulp-jasmine@4.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"efe566b8350f41a14f63ffaecc6ccdf8646709a9","size":3006,"noattachment":false,"tarball":"https://registry.npmmirror.com/gulp-jasmine/-/gulp-jasmine-4.0.0.tgz","integrity":"sha512-0UqY2fA6RCdUDJDsVym3zXYSWmt0AV7YY/6PAeKb+oGTKEgS7zZOH5w/4gcSKs+2FXiWrucQwLDvtEKIDbpF4A=="},"maintainers":[{"name":"jbblanchet","email":"jbblanchet@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-jasmine_4.0.0_1523867928021_0.09588406525978921"},"_hasShrinkwrap":false,"publish_time":1523867928094,"_cnpm_publish_time":1523867928094,"_cnpmcore_publish_time":"2021-12-18T16:53:19.522Z","readme":"# gulp-jasmine [![Build Status](https://travis-ci.org/sindresorhus/gulp-jasmine.svg?branch=master)](https://travis-ci.org/sindresorhus/gulp-jasmine)\n\n> Run [Jasmine 2](https://jasmine.github.io/index.html) tests in Node.js\n\n*Issues with the output should be reported on the Jasmine [issue tracker](https://github.com/jasmine/jasmine/issues).*\n\n\n## Install\n\n```\n$ npm install --save-dev gulp-jasmine\n```\n\n\n## Usage\n\n```js\nconst gulp = require('gulp');\nconst jasmine = require('gulp-jasmine');\n\ngulp.task('default', () =>\n\tgulp.src('spec/test.js')\n\t\t// gulp-jasmine works on filepaths so you can't have any plugins before it\n\t\t.pipe(jasmine())\n);\n```\n\n\n## API\n\n### jasmine([options])\n\n#### options\n\n##### verbose\n\nType: `boolean`
\nDefault: `false`\n\nDisplay spec names in default reporter.\n\n##### includeStackTrace\n\nType: `boolean`
\nDefault: `false`\n\nInclude stack traces in failures in default reporter.\n\n##### reporter\n\nType: `Object` `Object[]`\n\nReporters to use.\n\n```js\nconst gulp = require('gulp');\nconst jasmine = require('gulp-jasmine');\nconst reporters = require('jasmine-reporters');\n\ngulp.task('default', () =>\n\tgulp.src('spec/test.js')\n\t\t.pipe(jasmine({\n\t\t\treporter: new reporters.JUnitXmlReporter()\n\t\t}))\n);\n```\n\n[Creating your own reporter.](http://jasmine.github.io/2.4/custom_reporter.html)\n\n##### timeout\n\nType: `number`
\nDefault `5000`\n\nTime to wait in milliseconds before a test automatically fails.\n\n##### errorOnFail\n\nType: `boolean`
\nDefault: `true`\n\nStops the stream on failed tests.\n\n##### config\n\nType: `Object`\n\nPasses the config to Jasmine's [loadConfig](https://jasmine.github.io/2.8/node.html#section-Load_configuration_from_a_file_or_from_an_object.) method.\n\n#### events\n\n##### jasmineDone\n\nEmitted after all tests have been completed. For a discussion about why `jasmineDone` and not `end` nor `finish`, see [pull request #71](https://github.com/sindresorhus/gulp-jasmine/pull/71).\n\n## FAQ\n\n### Babel\n\nAdd `require('babel-core/register');` to the top of your `gulpfile.js`. Make sure to read the [Babel docs](https://babeljs.io/docs/usage/require/).\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n"}