From fb4eba872d0a245048cc09322424cc1058a6eb43 Mon Sep 17 00:00:00 2001 From: Vehbi Sinan Tunalioglu Date: Wed, 27 Mar 2024 15:54:01 +0800 Subject: [PATCH] test(website): add format-check and check npm scripts --- website/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/package.json b/website/package.json index 1cb85d7..3437754 100644 --- a/website/package.json +++ b/website/package.json @@ -7,7 +7,9 @@ "build": "next build", "start": "next start", "lint": "next lint", - "format": "prettier --write \"src/**/*.{ts,tsx,md,mdx}\"" + "format-check": "prettier --check \"src/**/*.{ts,tsx,md,mdx}\"", + "format": "prettier --write \"src/**/*.{ts,tsx,md,mdx}\"", + "check": "npm run format-check && npm run lint && npm run build" }, "dependencies": { "@nextui-org/react": "^2.2.10",