From 2406bd06309e5712f0f8cdd9022a1be57f3d4006 Mon Sep 17 00:00:00 2001 From: killer069 <65385476+killer069@users.noreply.github.com> Date: Tue, 26 Oct 2021 14:13:44 +0530 Subject: [PATCH] added prepublish script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8479fc6..aa63cc1 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "scripts": { "build": "tsc", "build:check": "tsc --noEmit --incremental false", - "pretty": "prettier --config .prettierrc \"play-dl/*.ts\" \"play-dl/*/*.ts\" \"play-dl/*/*/*.ts\" --write " + "pretty": "prettier --config .prettierrc \"play-dl/*.ts\" \"play-dl/*/*.ts\" \"play-dl/*/*/*.ts\" --write ", + "prepublishOnly": "tsc --build --clean;tsc --build --verbose" }, "repository": { "type": "git",