This commit is contained in:
Timothy Jaeryang Baek committed 2026-06-06 11:28:39 +01:00
1 parent ed4630c671
commit b3f1d66e96
2 files changed
+15 -2

No files matched your search

+4 -2
View File
@@ -8,8 +8,10 @@
"build": "vite build",
"preview": "vite preview",
"prepare": "svelte-kit sync || echo ''",
"format": "prettier --write .",
"format:check": "prettier --check .",
"format": "npm run format:frontend && cd ../.. && uv run ruff format cptr",
"format:check": "npm run format:check:frontend && cd ../.. && uv run ruff format --check cptr",
"format:frontend": "prettier --write .",
"format:check:frontend": "prettier --check .",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
},
+11
View File
@@ -0,0 +1,11 @@
{
"private": true,
"scripts": {
"format": "npm run format:frontend && npm run format:backend",
"format:check": "npm run format:check:frontend && npm run format:check:backend",
"format:frontend": "npm --prefix cptr/frontend run format:frontend",
"format:check:frontend": "npm --prefix cptr/frontend run format:check:frontend",
"format:backend": "uv run ruff format cptr",
"format:check:backend": "uv run ruff format --check cptr"
}
}