Skip to content

Export depcheck for use in specials #8

@edj-boston

Description

@edj-boston

It would be nice if gulp-depcheck exported the depcheck.specials property so I could do something like this:

gulp.task('package', g.depcheck({
    ignoreMatches : [
        'bootstrap',
        'font-awesome',
        'jquery',
        'npm-font-open-sans'
    ],
    specials : [
        g.depcheck.special['gulp-load-plugins'],
        g.depcheck.special.mocha,
        g.depcheck.special.babel
    ]
}));

As it is, I have to require depcheck itself to bring them in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions