feat: bun support

This commit is contained in:
ThatOneCalculator 2024-01-03 14:33:49 -08:00
parent 47803fbeb2
commit 037793161e
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
3 changed files with 6570 additions and 6478 deletions

BIN
bun.lockb Executable file

Binary file not shown.

13029
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -8,22 +8,23 @@
"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": "npm run eslint", "lint": "bun eslint",
"lint:types": "npm run check", "lint:types": "bun check",
"fmt": "npm run prettier:svelte && npm run prettier", "lint:backend": "pylint backend/",
"eslint": "npx -p eslint@8 -- eslint .", "eslint": "bunx eslint . --fix",
"prettier:svelte": "npx -p prettier@2 -- prettier --plugin-search-dir . --write .", "format": "bunx prettier --plugin-search-dir --write '**/*.{js,ts,svelte,css,md,html,json}'",
"prettier": "npx -p prettier@2 -- prettier --write '**/*.{js,css,md,html,json}'" "format:backend": "yapf --recursive backend -p -i"
}, },
"devDependencies": { "devDependencies": {
"@sveltejs/adapter-auto": "^2.0.0", "@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/adapter-static": "^2.0.3", "@sveltejs/adapter-static": "^2.0.3",
"@sveltejs/kit": "^1.20.4", "@sveltejs/kit": "^1.20.4",
"@tailwindcss/typography": "^0.5.10", "@tailwindcss/typography": "^0.5.10",
"@typescript-eslint/eslint-plugin": "^6.0.0", "@types/bun": "latest",
"@typescript-eslint/parser": "^6.0.0", "@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"autoprefixer": "^10.4.16", "autoprefixer": "^10.4.16",
"eslint": "^8.28.0", "eslint": "^8.56.0",
"eslint-config-prettier": "^8.5.0", "eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte": "^2.30.0", "eslint-plugin-svelte": "^2.30.0",
"postcss": "^8.4.31", "postcss": "^8.4.31",