{"name":"gulp-jscpd","version":"0.0.3","description":"Gulp plugin for the copy/paste detector jscpd","keywords":["cpd","pmd","analyze","quality","copy","paste","jscpd","gulpplugin"],"homepage":"https://github.com/yannickcr/gulp-jscpd","main":"./lib/gulp-jscpd.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test --reporter=spec","coverage":"node ./node_modules/mocha/bin/mocha test --require blanket --reporter=html-cov > coverage.html","checkstyle":"node ./node_modules/jscs/bin/jscs ."},"config":{"blanket":{"pattern":["/lib/gulp-jscpd.js"]}},"dependencies":{"gulp-util":"^2.2.16","through2":"^1.0.0","jscpd":"^0.3.2","coffee-script":"^1.7.1"},"devDependencies":{"mocha":"^1.20.1","mocha-lcov-reporter":"^0.0.1","blanket":"^1.1.5","coveralls":"^2.10.0","chai":"^1.9.1","jscs":"^1.4.5","gulp":"^3.8.0","gulp-jscs":"^0.5.0"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/yannickcr/gulp-jscpd/issues"},"repository":{"type":"git","url":"git://github.com/yannickcr/gulp-jscpd.git"},"author":{"name":"Yannick Croissant","url":"https://github.com/yannickcr"},"licenses":[{"type":"MIT","url":"https://raw.github.com/yannickcr/gulp-jscpd/master/LICENSE"}],"_id":"gulp-jscpd@0.0.3","dist":{"shasum":"c84822030ef3ac6cba35e8bc05d49cd1502c8803","tarball":"http://registry-npm.ywwl.com/gulp-jscpd/download/gulp-jscpd-0.0.3.tgz","integrity":"sha512-i+75bi2djLKPaCysmIITrROn4QsnBORBp0wSUf55t1UIVfXuGG7Dt1evz/I7m70oR16VZ/+YSVE12G0ED1v4Fg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIElkTsmlwAdtfb2ms+hYbJUxV5RFBdXrGkldX8IoHaeeAiEAxGe6jRpzMp2x+a+ukIcDEnaOZ00n3yrIkmKAXXpSX3s="}],"size":6215,"noattachment":false,"key":"/gulp-jscpd/-/gulp-jscpd-0.0.3.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"yannickcr","email":"yannick.croissant+npm@gmail.com"},"maintainers":[{"name":"yannickcr","email":"yannick.croissant+npm@gmail.com"}],"readme":"gulp-jscpd\n====================\n\n[![Maintenance Status][status-image]][status-url] [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][deps-image]][deps-url] [![Coverage Status][coverage-image]][coverage-url] [![Code Climate][climate-image]][climate-url]\n\n> Gulp plugin for the copy/paste detector [jscpd](https://github.com/kucherenko/jscpd).\n\n![](http://i.imgur.com/koeLzYb.png)\n\n# Installation\n\n    $ npm install gulp-jscpd\n\n# Usage\n\n```javascript\nvar gulp  = require('gulp');\nvar jscpd = require('gulp-jscpd');\n\ngulp.task('jscpd', function() {\n  return gulp.src('**/*.js')\n    .pipe(jscpd({\n      'min-lines': 10,\n      verbose    : true\n    }));\n});\n```\n\n## Options\n\n### min-lines\n\nType: `Number`\n\nMin size of duplication in code lines, default to `5`.\n\n### min-tokens\n\nType: `Number`\n\nMin size of duplication in code tokens, default to `70`.\n\n### reporter\n\nType: `String`\n\nReporter name or path to the [custom reporter](https://github.com/kucherenko/jscpd#reporters), default to `xml`.\n\n### languages\n\nType: `Array`\n\nList of languages which scan for duplicates, default to `['javascript', 'typescript', 'jsx', 'haxe', 'coffeescript', 'ruby', 'php', 'python', 'css', 'java', 'csharp', 'go', 'clike', 'htmlmixed']`.\n\n### output\n\nType: `String`\n\nPath to report XML file, default to `null` (no report file).\n\n### verbose\n\nType: `Boolean`\n\nShow full info about copies, default to `false`.\n\n### debug\n\nType: `Boolean`\n\nShow debug information (options list and selected files), default to `false`.\n\n### silent\n\nType: `Boolean`\n\nDon't print a report summary, default to `false`.\n\n### failOnError\n\nType: `Boolean`\n\nDon't throw an error in case of duplicated occurrences (useful for CI), default to `true`.\n\n# Tests\n\nRun tests using mocha\n\n    $ npm test\n\n# Code Coverage\n\nOutput a code coverage report in coverage.html\n\n    $ npm run coverage\n\n# Code Style\n\nCheck the code style with JSCS\n\n    $ npm run checkstyle\n\n# License\n\ngulp-jscpd is licensed under the [MIT License](http://www.opensource.org/licenses/mit-license.php).\n\n[npm-url]: https://npmjs.org/package/gulp-jscpd\n[npm-image]: http://img.shields.io/npm/v/gulp-jscpd.svg?style=flat\n\n[travis-url]: https://travis-ci.org/yannickcr/gulp-jscpd\n[travis-image]: http://img.shields.io/travis/yannickcr/gulp-jscpd/master.svg?style=flat\n\n[deps-url]: https://gemnasium.com/yannickcr/gulp-jscpd\n[deps-image]: http://img.shields.io/gemnasium/yannickcr/gulp-jscpd.svg?style=flat\n\n[coverage-url]: https://coveralls.io/r/yannickcr/gulp-jscpd?branch=master\n[coverage-image]: http://img.shields.io/coveralls/yannickcr/gulp-jscpd/master.svg?style=flat\n\n[climate-url]: https://codeclimate.com/github/yannickcr/gulp-jscpd\n[climate-image]: http://img.shields.io/codeclimate/github/yannickcr/gulp-jscpd.svg?style=flat\n\n[status-url]: https://github.com/yannickcr/gulp-jscpd/pulse\n[status-image]: http://img.shields.io/badge/status-maintained-brightgreen.svg?style=flat\n","publish_time":1402960057682,"_cnpm_publish_time":1402960057682,"dist-tags":{"latest":"0.0.8"}}