2026-03-21 18:46:34 +00:00
|
|
|
{
|
|
|
|
|
"name": "@stirling-image/api",
|
2026-04-03 15:20:53 +00:00
|
|
|
"version": "1.2.0",
|
2026-03-21 18:46:34 +00:00
|
|
|
"private": true,
|
|
|
|
|
"type": "module",
|
|
|
|
|
"scripts": {
|
2026-03-23 08:38:27 +00:00
|
|
|
"dev": "PORT=13490 tsx watch src/index.ts",
|
2026-03-21 18:46:34 +00:00
|
|
|
"build": "tsc",
|
feat: production Docker, Playwright tests, settings API, and bug fixes
- Add user management endpoints (register, list, delete, change password)
- Add API key management (create, list, delete)
- Add settings persistence endpoints (get, put)
- Wire settings dialog to real backend (People, API Keys, System, Security)
- Fix login auth flow (window.location.href for full reload)
- Fix download URLs returning 401 (make public since UUIDs are unguessable)
- Fix border tool shadowColor validation (accept 6-8 hex digits)
- Fix remove-bg alpha matting fallback (retry without on failure)
- Fix AI tool silent fallbacks (report errors instead of no-ops)
- Add checkerboard background to before/after slider for transparency
- Add progress bars to all AI tool components
- Add Playwright E2E test suite (131 tests across 9 test files)
- Rewrite Dockerfile for production (tsx runtime, pre-baked AI models)
- Add .dockerignore for faster builds
- Add proper accessible labels to login form
2026-03-22 11:28:57 +00:00
|
|
|
"start": "tsx src/index.ts",
|
2026-03-25 01:27:12 +00:00
|
|
|
"lint": "biome check src/",
|
2026-03-21 18:46:34 +00:00
|
|
|
"typecheck": "tsc --noEmit",
|
|
|
|
|
"clean": "rm -rf dist"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"@fastify/cors": "^11.0.0",
|
2026-03-21 20:03:38 +00:00
|
|
|
"@fastify/multipart": "^9.0.0",
|
2026-03-21 18:46:34 +00:00
|
|
|
"@fastify/rate-limit": "^10.2.0",
|
2026-03-21 20:03:38 +00:00
|
|
|
"@fastify/static": "^8.1.0",
|
2026-03-27 04:27:57 +00:00
|
|
|
"@scalar/fastify-api-reference": "^1.49.5",
|
2026-03-21 20:31:49 +00:00
|
|
|
"@stirling-image/ai": "workspace:*",
|
2026-03-21 20:03:38 +00:00
|
|
|
"@stirling-image/image-engine": "workspace:*",
|
|
|
|
|
"@stirling-image/shared": "workspace:*",
|
|
|
|
|
"archiver": "^7.0.1",
|
|
|
|
|
"better-sqlite3": "^11.7.0",
|
2026-03-21 18:46:34 +00:00
|
|
|
"dotenv": "^16.4.0",
|
2026-03-21 18:51:57 +00:00
|
|
|
"drizzle-orm": "^0.38.0",
|
2026-03-23 08:38:27 +00:00
|
|
|
"exif-reader": "^2.0.3",
|
2026-03-21 20:03:38 +00:00
|
|
|
"fastify": "^5.2.0",
|
2026-03-27 04:58:38 +00:00
|
|
|
"js-yaml": "^4.1.1",
|
2026-03-21 20:21:10 +00:00
|
|
|
"jsqr": "^1.4.0",
|
2026-03-21 20:03:38 +00:00
|
|
|
"p-queue": "^9.1.0",
|
2026-03-21 20:21:10 +00:00
|
|
|
"pdfkit": "^0.18.0",
|
2026-03-29 09:23:41 +00:00
|
|
|
"piscina": "^5.1.4",
|
2026-03-21 20:21:10 +00:00
|
|
|
"potrace": "^2.1.8",
|
|
|
|
|
"qrcode": "^1.5.4",
|
2026-03-21 20:03:38 +00:00
|
|
|
"sharp": "^0.33.0",
|
feat: production Docker, Playwright tests, settings API, and bug fixes
- Add user management endpoints (register, list, delete, change password)
- Add API key management (create, list, delete)
- Add settings persistence endpoints (get, put)
- Wire settings dialog to real backend (People, API Keys, System, Security)
- Fix login auth flow (window.location.href for full reload)
- Fix download URLs returning 401 (make public since UUIDs are unguessable)
- Fix border tool shadowColor validation (accept 6-8 hex digits)
- Fix remove-bg alpha matting fallback (retry without on failure)
- Fix AI tool silent fallbacks (report errors instead of no-ops)
- Add checkerboard background to before/after slider for transparency
- Add progress bars to all AI tool components
- Add Playwright E2E test suite (131 tests across 9 test files)
- Rewrite Dockerfile for production (tsx runtime, pre-baked AI models)
- Add .dockerignore for faster builds
- Add proper accessible labels to login form
2026-03-22 11:28:57 +00:00
|
|
|
"tsx": "^4.19.0",
|
2026-03-21 20:03:38 +00:00
|
|
|
"zod": "^3.24.0"
|
2026-03-21 18:46:34 +00:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2026-03-21 20:03:38 +00:00
|
|
|
"@types/archiver": "^7.0.0",
|
|
|
|
|
"@types/better-sqlite3": "^7.6.0",
|
2026-03-27 04:58:38 +00:00
|
|
|
"@types/js-yaml": "^4.0.9",
|
2026-03-21 18:51:57 +00:00
|
|
|
"@types/node": "^22.0.0",
|
2026-03-21 20:21:10 +00:00
|
|
|
"@types/pdfkit": "^0.17.5",
|
|
|
|
|
"@types/potrace": "^2.1.5",
|
|
|
|
|
"@types/qrcode": "^1.5.6",
|
2026-03-21 18:51:57 +00:00
|
|
|
"drizzle-kit": "^0.30.0",
|
2026-03-21 20:03:38 +00:00
|
|
|
"typescript": "^5.7.0"
|
2026-04-03 15:07:58 +00:00
|
|
|
},
|
|
|
|
|
"license": "AGPL-3.0"
|
2026-03-21 18:46:34 +00:00
|
|
|
}
|