update build script to include ncc install (#99)

gh actions won't respect npx installed devdeps
This commit is contained in:
David Gamero 2024-02-07 12:45:04 -05:00 committed by GitHub
parent d1dc92d6ff
commit 688936d8db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 .",