From e38d18076017fe4d946890a3d740bcfe4a40f2d2 Mon Sep 17 00:00:00 2001 From: David Gamero Date: Mon, 6 Nov 2023 12:24:37 -0500 Subject: [PATCH 1/2] add installing ncc to build --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b18ba9343..958a747c2 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "author": "Deepak Sattiraju", "license": "MIT", "scripts": { - "build": "npx ncc build src/run.ts -o lib", + "build": "npm i ncc && ncc build src/run.ts -o lib", "test": "jest", "coverage": "jest --coverage=true", "format": "prettier --write .", From e262b01341cea04fa1edd3adfa507d966b27e81d Mon Sep 17 00:00:00 2001 From: David Gamero Date: Mon, 6 Nov 2023 12:27:37 -0500 Subject: [PATCH 2/2] include npx to get to bin link --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 958a747c2..1e6e6ab11 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "author": "Deepak Sattiraju", "license": "MIT", "scripts": { - "build": "npm i ncc && ncc build src/run.ts -o lib", + "build": "npm i ncc && npx ncc build src/run.ts -o lib", "test": "jest", "coverage": "jest --coverage=true", "format": "prettier --write .",