From c2e07c6a32dd0e756cd3a1ddf88eda63c06cede1 Mon Sep 17 00:00:00 2001 From: Bram Suurd Date: Fri, 9 Aug 2024 00:02:21 +0200 Subject: [PATCH] refactor: Update package.json with new format scripts and add typecheck command --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3f6c655..371e39b 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,9 @@ "build": "next build", "start": "next start", "lint": "next lint", - "format": "prettier --write ." + "format:write": "prettier --write \"**/*.{ts,tsx,mdx}\" --cache", + "format:check": "prettier --check \"**/*.{ts,tsx,mdx}\" --cache", + "typecheck": "tsc --noEmit" }, "dependencies": { "@radix-ui/react-accordion": "^1.1.2", @@ -61,4 +63,4 @@ "tailwindcss-animated": "^1.0.1", "typescript": "^5" } -} \ No newline at end of file +}