diff --git a/package.json b/package.json index 2beecb5..9ebcf68 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "scripts": { "dev": "prisma generate && next dev", "build": "prisma generate && prisma db push && next build", - "format:write": "prettier --write \"**/*.{css,js,json,jsx,ts,tsx}\"", - "format": "prettier \"**/*.{css,js,json,jsx,ts,tsx}\"", + "format:write": "npm run format -- --write", + "format": "prettier --cache \"**/*.{css,js,json,jsx,ts,tsx}\"", "start": "next start", "lint": "next lint" },