platform-codebase/@packages/@infrastructure/image-security/package.json
Quinn Ftw aecdf9cdad ♻️ Extract image security types to dedicated package
- Create @lilith/image-security for reusable image validation
- Move AllowedImageMimeType, ImageSecurityStatus, magic bytes to shared package
- Update merch-submission.types.ts to import from new package
- Add MerchPhrase model to ecommerce types

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 04:46:46 -08:00

38 lines
921 B
JSON

{
"name": "@lilith/image-security",
"version": "1.0.0",
"description": "Shared image security validation and processing for Lilith Platform",
"private": true,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./validation": {
"types": "./dist/validation/index.d.ts",
"import": "./dist/validation/index.js",
"require": "./dist/validation/index.cjs"
}
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"lint": "eslint src --ext .ts",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"sharp": "^0.33.0"
},
"peerDependencies": {
"@nestjs/common": "^10.0.0",
"@nestjs/core": "^10.0.0"
},
"devDependencies": {
"@types/node": "^20.0.0",
"tsup": "^8.0.0",
"typescript": "^5.0.0"
}
}