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",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "bun eslint",
"lint:types": "bun check",
"lint": "npm run lint:frontend ; npm run lint:types ; npm run lint:backend",
"lint:frontend": "eslint . --fix",
"lint:types": "npm run check",
"lint:backend": "pylint backend/",
"eslint": "eslint . --fix",
"format": "bun prettier --plugin-search-dir --write '**/*.{js,ts,svelte,css,md,html,json}'",
"format": "prettier --plugin-search-dir --write '**/*.{js,ts,svelte,css,md,html,json}'",
"format:backend": "yapf --recursive backend -p -i"
},
"devDependencies": {