From 6558d8e4526bfddfb885bd943850a37f3b52f676 Mon Sep 17 00:00:00 2001 From: Chris Kay Date: Tue, 2 Nov 2021 12:11:32 +0000 Subject: [PATCH] build(npm): add license field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change adds the `license` field to our `package.json` file, which allows some license checking tools to analyze our dependencies for license incompatibilities. The current state of our licensed dependencies is as follows: ``` $ license-checker --summary ├─ MIT: 198 ├─ ISC: 31 ├─ Apache-2.0: 5 ├─ (MIT OR CC0-1.0): 3 ├─ BSD-3-Clause: 2 ├─ BSD-2-Clause: 2 ├─ 0BSD: 2 ├─ (MIT OR Apache-2.0): 1 ├─ CC-BY-3.0: 1 └─ CC0-1.0: 1 ``` Change-Id: I7b9dae1c9f732c7f7491b5d6557dd193b894d70c Signed-off-by: Chris Kay --- package-lock.json | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/package-lock.json b/package-lock.json index ec0aef5e9..b42786d85 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "packages": { "": { "hasInstallScript": true, + "license": "BSD-3-Clause", "devDependencies": { "@commitlint/cli": "^14.1.0", "@commitlint/config-conventional": "^14.1.0", diff --git a/package.json b/package.json index acaca841b..8e448d09b 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,5 @@ { + "license": "BSD-3-Clause", "private": true, "scripts": { "postinstall": "husky install"