[license-summary] Adds a script to write a list of the licenses used by the npm dependencies
Script that helps to write the license documentation regarding npm dependencies. If looks for npm modules in the base folder of the given module (or in the Openbravo root if no module is specified) and in the web-jspack/ folder.
It uses the license-checker package to obtain the list of licenses used by the installed dependencies.
It executes npm ci --ignore-scripts to work with an updated list of dependencies and prevent inconsistencies
npm run license-summary --module= the Openbravo module to be considered. If this parameter is not included, the script will check the licenses of the Openbravo root dependencies --toFile= the path to a file where the output should be written.
Output: A header for each license type and below it the list of packages that use it