Adding licenses of dependencies and their dependencies(transitive dep)
Table of contents
We have a ThirdPartyLicense.txt file on main page, which consist all the licenses of direct and indirect dependencies, used in patternscape project. In order to generate or update this file we have written a script called "thirdPartyLicense.js". It creates a graph of all direct and indirect dependencies and fetch their licenses. Then all the licenses are listed in a file with repository, author and package names. If any package license is not found then empty space is left for it, so we can update it manually.
Steps to update third party license:
node thirdPartyLicense.js
in that folder