grunt-jscpd
grunt-jscpd copied to clipboard
Is the developer still here?
Are you active?
I think that's a no. I had better results registering my own task instead of using this task anyway. It's super simple. Just npm install --save-dev jscpd
.
Example code:
var jscpd = require('jscpd');
grunt.registerTask('jscpd', function() {
jscpd.prototype.run({
path: './',
files: 'app/**/*.js',
exclude: [
// examples, enter your own stuff
// dirs
'**/node_modules/**',
'**/compiled/**',
'**/vendor/**',
// files
'**/*_compiled.js'
],
output: 'tests/_duplicates-report.xml'
});
});