mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
Consolidate all access to localhost:1349 — Vite dev server serves on 1349 and proxies API calls to an internal dev port (13490). Production API defaults to 1349. Also includes strip-metadata improvements, UI component updates, and compress operation fixes.
49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
{
|
|
"name": "@stirling-image/api",
|
|
"version": "0.4.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "PORT=13490 tsx watch src/index.ts",
|
|
"build": "tsc",
|
|
"start": "tsx src/index.ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"clean": "rm -rf dist"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cors": "^11.0.0",
|
|
"@fastify/multipart": "^9.0.0",
|
|
"@fastify/rate-limit": "^10.2.0",
|
|
"@fastify/static": "^8.1.0",
|
|
"@fastify/swagger": "^9.4.0",
|
|
"@fastify/swagger-ui": "^5.2.0",
|
|
"@stirling-image/ai": "workspace:*",
|
|
"@stirling-image/image-engine": "workspace:*",
|
|
"@stirling-image/shared": "workspace:*",
|
|
"archiver": "^7.0.1",
|
|
"better-sqlite3": "^11.7.0",
|
|
"dotenv": "^16.4.0",
|
|
"drizzle-orm": "^0.38.0",
|
|
"exif-reader": "^2.0.3",
|
|
"fastify": "^5.2.0",
|
|
"jsqr": "^1.4.0",
|
|
"p-queue": "^9.1.0",
|
|
"pdfkit": "^0.18.0",
|
|
"potrace": "^2.1.8",
|
|
"qrcode": "^1.5.4",
|
|
"sharp": "^0.33.0",
|
|
"tsx": "^4.19.0",
|
|
"zod": "^3.24.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/archiver": "^7.0.0",
|
|
"@types/better-sqlite3": "^7.6.0",
|
|
"@types/node": "^22.0.0",
|
|
"@types/pdfkit": "^0.17.5",
|
|
"@types/potrace": "^2.1.5",
|
|
"@types/qrcode": "^1.5.6",
|
|
"drizzle-kit": "^0.30.0",
|
|
"typescript": "^5.7.0"
|
|
}
|
|
}
|