From 2a1ba0210d8fac88fae1321153f0dce289cd9e39 Mon Sep 17 00:00:00 2001 From: Jason Varga Date: Tue, 4 Feb 2025 12:15:52 -0500 Subject: [PATCH] Add prettier npm scripts --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5bd7b4838f..110eee4174 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,9 @@ "test": "cross-env NODE_ENV=test jest --silent", "test-watch": "npm run test -- --watch --notify", "frontend-dev": "vite -c vite-frontend.config.js", - "frontend-build": "vite build -c vite-frontend.config.js" + "frontend-build": "vite build -c vite-frontend.config.js", + "prettier:format": "prettier --write \"**/*.{js,ts,jsx,tsx,cjs,cts,mjs,mts,vue,blade.php,css}\"", + "prettier:check": "prettier --check \"**/*.{js,ts,jsx,tsx,cjs,cts,mjs,mts,vue,blade.php,css}\"" }, "dependencies": { "@floating-ui/dom": "^1.2.5",