From f7676294a7c905d8ab5297b35c0f3dfaca04adb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Wed, 4 Sep 2024 13:18:53 +0200 Subject: [PATCH] chore: fix tsc npm scripts (#9) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move type-checking from `lint` to `test:types`. Signed-off-by: Miroslav Bajtoš --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 31a168e..a5e07cb 100644 --- a/package.json +++ b/package.json @@ -7,10 +7,11 @@ "indexer" ], "scripts": { - "lint": "prettier --check . && standard && tsc -p .", + "lint": "prettier --check . && standard", "lint:fix": "prettier --write . && standard --fix .", - "pretest": "npm run lint", - "test": "npm test --workspaces --if-present" + "test:types": "tsc -p .", + "test:unit": "npm test --workspaces --if-present", + "test": "npm run lint && npm run test:types && npm run test:unit" }, "repository": { "type": "git",