blossom-cloudron/package.json

76 lines
2.1 KiB
JSON
Raw Normal View History

2024-11-04 15:09:32 +00:00
{
"name": "blossom-server-ts",
"version": "4.4.0",
"description": "A blossom server implementation written in Typescript",
"main": "build/index.js",
"type": "module",
"author": "hzrd149",
"license": "MIT",
"scripts": {
"start": "node build/index.js",
"build": "tsc",
"postbuild": "cd admin && pnpm build",
"dev": "nodemon -i '**/data/**' -i '**/database.json' -i '**/database.old.json' --exec 'node' --loader @swc-node/register/esm src/index.ts",
"format": "prettier -w ."
},
"bin": "build/index.js",
"files": [
"build",
"public",
"admin/dist"
],
"dependencies": {
"@koa/cors": "^5.0.0",
"@koa/router": "^13.1.0",
"@nostr-dev-kit/ndk": "^2.10.0",
"better-sqlite3": "^11.3.0",
"blossom-server-sdk": "^0.7.2",
"dayjs": "^1.11.13",
"debug": "^4.3.7",
"file-type": "^19.5.0",
"follow-redirects": "^1.15.9",
"generate-password": "^1.7.1",
"http-errors": "1",
"koa": "^2.15.3",
"koa-basic-auth": "^4.0.0",
"koa-body": "^6.0.1",
"koa-mount": "^4.0.0",
"koa-static": "^5.0.0",
"lilconfig": "^3.1.2",
"mime": "^4.0.4",
"minio": "^8.0.1",
"mkdirp": "^3.0.1",
"nanoid": "^5.0.7",
"nostr-tools": "^2.7.2",
"socks-proxy-agent": "^8.0.4",
"websocket-polyfill": "^1.0.0",
"ws": "^8.18.0",
"yaml": "^2.5.1"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@swc-node/register": "^1.9.0",
"@swc/core": "^1.7.26",
"@swc/types": "^0.1.12",
"@types/better-sqlite3": "^7.6.11",
"@types/debug": "^4.1.12",
"@types/follow-redirects": "^1.14.4",
"@types/http-errors": "^2.0.4",
"@types/koa": "^2.15.0",
"@types/koa-basic-auth": "^2.0.6",
"@types/koa-mount": "^4.0.5",
"@types/koa-static": "^4.0.4",
"@types/koa__cors": "^5.0.0",
"@types/koa__router": "^12.0.4",
"@types/node": "^20.11.19",
"@types/ws": "^8.5.12",
"nodemon": "^3.1.5",
"prettier": "^3.3.3",
"typescript": "^5.6.2"
},
"resolutions": {
"websocket-polyfill": "1.0.0"
},
"packageManager": "pnpm@9.12.0"
}