Files
2026-09-17 20:25:18 +08:00

35 lines
941 B
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"name": "@photo/storage",
"version": "0.1.0",
"private": true,
"description": "StoragePort 抽象 + MinIO 适配器(presigned PUT/GET、head、流式读取、禁止覆盖语义的 copyIfAbsent;P5/G1 生产 OSS 适配器实现同一端口)",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"typecheck": "tsc --noEmit",
"test": "jest",
"lint": "eslint ."
},
"dependencies": {
"@aws-sdk/client-s3": "^3.700.0",
"@aws-sdk/s3-request-presigner": "^3.700.0",
"@photo/contracts": "workspace:*"
},
"devDependencies": {
"@types/jest": "^29.5.13",
"@types/node": "^22.10.0",
"dotenv": "^16.4.5",
"jest": "^29.7.0",
"ts-jest": "^29.2.5",
"typescript": "^5.6.0"
}
}