From 511e01689908768e8313e412cf5c50dd28f26225 Mon Sep 17 00:00:00 2001 From: Haider Alshamma Date: Mon, 30 Oct 2023 14:36:03 -0400 Subject: [PATCH] chore: compile cypress TypeScript files without transpiling --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c1d9a9942..2ec1fae00 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "build": "rollup -c", "build:storybook": "build-storybook", "check": "yarn check:types && yarn check:lint && yarn check:format", - "check:types": "tsc && cd cypress && tsc", + "check:types": "tsc && cd cypress && tsc --noEmit", "check:lint": "eslint --config ./.eslintrc .'*/**/*.{js,ts,tsx}'", "check:format": "prettier -c .", "fix": "yarn fix:lint && yarn fix:format", @@ -168,7 +168,7 @@ }, "husky": { "hooks": { - "pre-push": "yarn check" + "pre-push": "yarn run check" } }, "jest": {