From 6e629cd2002583bc714fac827ec00fa673122b07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20B=C3=B6hm?= <188768+fb55@users.noreply.github.com> Date: Thu, 6 May 2021 16:26:29 +0100 Subject: [PATCH] fix(package): Build the module before publishing --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c2490e5795..897cd18f74 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,9 @@ "benchmark": "ts-node benchmark/benchmark.ts --regex \"^(?!.*highmem)\"", "update-sponsors": "ts-node scripts/fetch-sponsors.ts", "bench": "npm run benchmark", - "pre-commit": "lint-staged" + "pre-commit": "lint-staged", + "build": "tsc", + "prepublishOnly": "npm run build" }, "prettier": { "singleQuote": true,