chore(tooling): improve package.json scripts

- make sure tooling scripts are run via bun
- add test:all script
This commit is contained in:
peaklabs-dev
2026-03-13 23:48:44 +01:00
parent 6927eefa77
commit 3e4913276b
+4 -3
View File
@@ -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"
}
}