Files
pokemon-inventory/apps/api/package.json
T
fragginwagon f7152bcff3 feat: add multipart image uploads
Register Fastify multipart support, validate JPEG/PNG/WebP binary signatures, store upload bytes through ImageStorage, persist metadata after storage succeeds, clean up bytes on metadata failure, and document the upload boundary. Verification: npm test passed 68 tests and integration passed 14 tests. No build script is configured.
2026-09-08 17:38:27 -04:00

27 lines
838 B
JSON

{
"name": "@pokemon-inventory/api",
"private": true,
"type": "module",
"scripts": {
"provision:admin": "node src/modules/auth/scripts/provision-initial-admin.js",
"start": "node src/app/server.js",
"test:application": "node --test tests/application/*.test.js",
"test:domain": "node --test tests/domain/*.test.js",
"test:http": "node --test tests/http/*.test.js",
"test:integration": "node --test --test-concurrency=1 tests/integration/*.test.js"
},
"dependencies": {
"@fastify/cookie": "^11.0.2",
"@fastify/multipart": "^9.4.0",
"@pokemon-inventory/contracts": "*",
"@pokemon-inventory/validation": "*",
"dotenv": "^16.6.1",
"drizzle-orm": "^0.44.7",
"fastify": "^5.6.1",
"nodemailer": "^7.0.6",
"otpauth": "^9.4.1",
"pg": "^8.16.3",
"redis": "^5.8.2"
}
}