0.0.10 • Published 6 years ago

gulp-license-crawler v0.0.10

Weekly downloads
4
License
BSD-3-Clause
Repository
github
Last release
6 years ago

gulp-license-crawler

Npm Version Build Status Dependency Status

Usage

var licenseCrawler = require('gulp-license-crawler');

gulp.task('licenses', function() {
    return licenseCrawler()
        .pipe(gulp.dest('./licenses'))
});

Options

options.start

Type: Array<String> Default value: .

Path to the directory the license search should start from. Multiple paths can be specified.

options.exclude

Type: Array<String> Default Value: undefined

Path to a directory to be excluded (and its subdirectories) from the search. Multiple paths can be specified.

options.unknown

Type: Boolean Default value: false

Only generate a list of licenses that can't be determined or have been guessed.

options.dependencies

Type: Boolean Default value: false

Only generate a list of third-party licenses, i.e., only list the dependencies defined in package.json.

options.json

Type: String Default Value: undefined

Export data as JSON to the given file path. Be cautious, the task will overwrite file if exists!

options.csv

Type: String Default Value: undefined

Export data as CSV to the given file path. Be cautious, the task will overwrite file if exists!

options.omitVersion

Type: Boolean Default value: false

Don't display versions in result (e.g. "npm-license-crawler@0.1.5" becomes "npm-license-crawler")

options.onlyDirectDependencies

Type: Boolean Default value: false

Show only direct dependencies licenses, i.e., don't list dependencies of dependencies.

options.relativeLicensePath

Type: Boolean Default value: false

Output the relative file path for license files.

History

See Release History.

License

Copyright (c) 2016-2017, Marcus Wittig All rights reserved.

BSD-3-Clause License

0.0.10

6 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago