grunt-jscpd icon indicating copy to clipboard operation
grunt-jscpd copied to clipboard

Is the developer still here?

Open linslin opened this issue 10 years ago • 1 comments

Are you active?

linslin avatar Feb 07 '15 13:02 linslin

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'
        });

    });

akinnee avatar Mar 05 '15 17:03 akinnee