build: add linting and formatting tooling

This commit is contained in:
2026-05-13 08:04:55 +02:00
parent 86b75598fd
commit a1a1446ed1
2 changed files with 99 additions and 5 deletions
+10 -3
View File
@@ -4,12 +4,19 @@
"description": "Bun web server for serving dynamic content to Samsung TVs via SSR and MJPEG streaming",
"scripts": {
"start": "bun run src/server.ts",
"dev": "bun --watch run src/server.ts"
"dev": "bun --watch run src/server.ts",
"lint": "oxlint",
"lint:fix": "oxlint --fix",
"fmt": "oxfmt",
"fmt:check": "oxfmt --check"
},
"dependencies": {
"puppeteer": "^24.43.1"
},
"devDependencies": {
"@types/bun": "^1.3.13"
"@types/bun": "^1.3.13",
"add": "^2.0.6",
"oxfmt": "^0.49.0",
"oxlint": "^1.64.0"
}
}
}