fix: 🔨 agnostic scripts

This commit is contained in:
ThatOneCalculator 2024-01-04 13:44:24 -08:00
parent 081578903c
commit 9bd9c8196c
No known key found for this signature in database
GPG Key ID: 8703CACD01000000

View File

@ -8,11 +8,11 @@
"preview": "vite preview", "preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "bun eslint", "lint": "npm run lint:frontend ; npm run lint:types ; npm run lint:backend",
"lint:types": "bun check", "lint:frontend": "eslint . --fix",
"lint:types": "npm run check",
"lint:backend": "pylint backend/", "lint:backend": "pylint backend/",
"eslint": "eslint . --fix", "format": "prettier --plugin-search-dir --write '**/*.{js,ts,svelte,css,md,html,json}'",
"format": "bun prettier --plugin-search-dir --write '**/*.{js,ts,svelte,css,md,html,json}'",
"format:backend": "yapf --recursive backend -p -i" "format:backend": "yapf --recursive backend -p -i"
}, },
"devDependencies": { "devDependencies": {