From 86e5eb9a150cb1244d22659321175ef21b500795 Mon Sep 17 00:00:00 2001 From: Muhammad Sammy Date: Wed, 20 Jan 2021 14:51:13 +0200 Subject: [PATCH] chore: add npm script to build and run the cli --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index e41fa370..380b98b1 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "test": "jest --env=jsdom --coverage --passWithNoTests", "test:watch": "jest --env=jsdom --watch --updateSnapshot", "prepublishOnly": "npm run build", + "run-cli": "npm run build:lib && node lib/cli/index.js", "prebuild": "npm run clean", "postbuild": "rimraf {lib,es}/**/__tests__ {lib,es}/**/*.{spec,test}.{js,d.ts,js.map}", "posttest": "npm run typecheck && npm run lint",