UNPKG

generate-license-file

Version:

Generates a text file containing all of the licenses for your production dependencies

19 lines (18 loc) 625 B
export interface ReplaceOption { /** * A map of packages-to-file-paths containing content * that should be used instead of the package's license content * * Packages can be specified with or without exact versions, * though using versions is recommended to avoid uncertainty. * * This is useful for when a package is dual licensed and you * want to use one of the licenses instead of the other * * @example { * "react@16.13.1": "./licenses/react.txt", * "lodash": "./node_modules/lodash/LICENSE.md", * } */ replace?: Record<string, string>; }