From 4d930bcf03a6f2a7dde7696d84abb575e67ddc3d Mon Sep 17 00:00:00 2001 From: David Gamero Date: Wed, 7 Feb 2024 12:43:29 -0500 Subject: [PATCH] update build script to include ncc install gh actions won't respect npx installed devdeps --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index afcce2b8..6d4c6699 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "main": "lib/index.js", "scripts": { - "build": "ncc build src/run.ts -o lib", + "build": "npm i ncc && npx ncc build src/run.ts -o lib", "test": "jest", "test-coverage": "jest --coverage", "format": "prettier --write .",