{"name":"gulp-jscpd","version":"0.0.7","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 ."},"files":["LICENSE","README.md","lib"],"config":{"blanket":{"pattern":["/lib/gulp-jscpd.js"]}},"dependencies":{"coffee-script":"^1.10.0","gulp-util":"^3.0.6","jscpd":"0.6.1","through2":"^2.0.0","winston":"^2.2.0"},"devDependencies":{"blanket":"^1.1.7","chai":"^3.2.0","coveralls":"^2.11.4","gulp":"^3.9.0","gulp-jscs":"^3.0.2","jscs":"^3.0.3","mocha":"^2.3.2","mocha-lcov-reporter":"^1.2.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"}],"gitHead":"4d63253d8b82a48ba88af985f5e7b87f4394cb95","_id":"gulp-jscpd@0.0.7","_shasum":"e7311dfbb5834a68bee2f4fbd021f2005144934d","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"yannickcr","email":"yannick.croissant+npm@gmail.com"},"dist":{"shasum":"e7311dfbb5834a68bee2f4fbd021f2005144934d","tarball":"http://registry-npm.ywwl.com/gulp-jscpd/download/gulp-jscpd-0.0.7.tgz","integrity":"sha512-r08CLCD0rdt7ZTDTJW9BXr33mdfNkgVIZpJIrJI6cmvPqDApFYvTobtnT9tJHaFsWfHN87idxILD56wMXkaI8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyeMTAgFl2/sgDRkruWJR9tSYf1egtVWw2wlixey2FnAIgMuqJ1PpsykwYZjg5RQDTbP7ShUqScO4CR3FIEFNHj6E="}],"size":2877,"noattachment":false,"key":"/gulp-jscpd/-/gulp-jscpd-0.0.7.tgz"},"maintainers":[{"name":"yannickcr","email":"yannick.croissant+npm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/gulp-jscpd-0.0.7.tgz_1462232935325_0.6887407228350639"},"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":1462232936339,"_cnpm_publish_time":1462232936339,"dist-tags":{"latest":"0.0.8"}}