From fc9ad99793b66b408f8ddea01f8922ba69306019 Mon Sep 17 00:00:00 2001 From: trapcodeio Date: Wed, 16 Nov 2022 14:06:31 +0100 Subject: [PATCH] add prepublishScript --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 013a3db..cbf1c3e 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,9 @@ "license": "MIT", "private": false, "scripts": { - "ts:build": "npx tsc -p tsconfig.json", - "ts:watch": "npx tsc --watch" + "build": "npx tsc -p tsconfig.json", + "watch": "npx tsc --watch", + "prepublishOnly": "npm run ts:build" }, "devDependencies": { "@types/ejs": "^3.1.1",