From 3e4913276bd1db5482f6da9f0544a04d8dffe7cb Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Fri, 13 Mar 2026 19:09:21 +0100 Subject: [PATCH] chore(tooling): improve package.json scripts - make sure tooling scripts are run via bun - add test:all script --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index fe005b6578..c1f76c3570 100644 --- a/package.json +++ b/package.json @@ -33,10 +33,11 @@ "dev": "vite", "build": "vite build", "preview": "vite preview", - "format": "prettier --config prettier.config.ts --cache --cache-strategy metadata --write .", + "format": "bunx --bun prettier --config prettier.config.ts --cache --cache-strategy metadata --write .", "lint": "bunx --bun eslint --config eslint.config.ts --cache --cache-location node_modules/.cache/eslint --fix .", - "check": "svelte-check --tsconfig tsconfig.json", + "check": "bunx --bun svelte-check --tsconfig tsconfig.json", "test:lint": "bunx --bun eslint --config eslint.config.ts --cache --cache-location node_modules/.cache/eslint .", - "test:format": "prettier --config prettier.config.ts --cache --cache-strategy metadata --check ." + "test:format": "bunx --bun prettier --config prettier.config.ts --cache --cache-strategy metadata --check .", + "test:all": "bun run check && bun run test:lint && bun run test:format" } }