@jackdbd/r2-media-store
Version:
Store Micropub media in a Cloudflare R2 bucket.
78 lines (77 loc) • 2.3 kB
JSON
{
"name": "@jackdbd/r2-media-store",
"version": "0.2.0-canary.18",
"description": "Store Micropub media in a Cloudflare R2 bucket.",
"author": {
"name": "Giacomo Debidda",
"email": "giacomo@giacomodebidda.com",
"url": "https://giacomodebidda.com/"
},
"license": "MIT",
"private": false,
"publishConfig": {
"access": "public"
},
"keywords": [
"Cloudflare",
"media",
"Micropub",
"R2"
],
"type": "module",
"module": "lib/index.js",
"typings": "lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js"
},
"./delete": {
"types": "./lib/delete.d.ts",
"import": "./lib/delete.js"
},
"./upload": {
"types": "./lib/upload.d.ts",
"import": "./lib/upload.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"*": [
"./lib/*.d.ts"
]
}
},
"sideEffects": false,
"files": [
"CHANGELOG.md",
"LICENSE",
"README.md",
"lib"
],
"scripts": {
"build": "run-s 'build:ts' 'build:readme' --print-label",
"build:docs": "node ../scripts/dist/docs.js --package r2-media-store",
"build:readme": "node ../scripts/dist/readme.js --package r2-media-store",
"build:ts": "tsc -p tsconfig.json",
"build:ts:watch": "tsc -p tsconfig.json --watch",
"clean": "rimraf lib/ tsconfig.tsbuildinfo",
"dev": "run-p build:ts:watch test:watch",
"lint": "eslint --config ../../eslint.config.mjs --fix",
"publint": "publint run .",
"size": "pkg-size ./lib --sort-by=brotli --ignore-files {*.d.ts,*.map}",
"test": "node --test --test-reporter=spec --test-reporter-destination=stdout",
"test:ci": "node --test --test-reporter=@reporters/github --test-reporter-destination=stdout --test-reporter=spec --test-reporter-destination=stdout",
"test:coverage": "node --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info --test-reporter=spec --test-reporter-destination=stdout",
"test:watch": "node --test --watch"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.740.0",
"@jackdbd/micropub": "0.2.0-canary.13",
"mime": "^4.0.6",
"nanoid": "^5.0.9"
},
"devDependencies": {},
"peerDependencies": {}
}