Closed ColinEberhardt closed 4 years ago
Note, I've updated package lock in a separate commit https://github.com/ScottLogic/openfin-react-hooks/pull/27/commits/a497ffd158db9b2fb9fbbc1e4bc593ce8c115a9d - there are a lot of changes in there that are nothing to do with this PR, I guess previous commits have omitted this change?
ref #24
Adds an npm run script that uses
license-validation
to check that licences for dependencies conform to the rules for Apache 2.0. As per:https://finosfoundation.atlassian.net/wiki/spaces/FINOS/pages/75530375/Contribution+Compliance+Requirements#ContributionComplianceRequirements-Identifyingacceptablelicenses
Note, the
license-validation
tool analyses thenode_modules
folder 'on disk', so npm prune / install is executed beforehand to ensure only production dependencies are present.