From c48b36c7c885f4ec20eda7879839e17d92d940ff Mon Sep 17 00:00:00 2001 From: Matt Travi Date: Wed, 22 Mar 2023 21:10:08 -0500 Subject: [PATCH] test: ensured that the package gets built before linting for publishability --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index e5c89eb2..a9390d8f 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "lint:publish": "publint", "test:unit:base": "DEBUG=any vitest run", "test:unit": "cross-env NODE_ENV=test c8 run-s test:unit:base", + "pretest": "run-s build", "test": "npm-run-all --print-label --parallel lint:* --parallel test:*", "clean": "rimraf lib/", "build": "run-s clean build:*",