server/package.json
Jesse Wierzbinski 621dd7e9d9
refactor(api): ♻️ Upgrade zod-openapi to 0.18.3
Needed to add "as const" to all middleware handlers :)
2024-12-30 18:20:22 +01:00

176 lines
6 KiB
JSON

{
"name": "versia-server",
"module": "index.ts",
"type": "module",
"version": "0.8.0-alpha",
"description": "A project to build a federated social network",
"author": {
"email": "contact@cpluspatch.com",
"name": "Jesse Wierzbinski",
"url": "https://cpluspatch.com"
},
"bugs": {
"url": "https://github.com/versia-pub/server/issues"
},
"icon": "https://github.com/versia-pub/server",
"license": "AGPL-3.0-or-later",
"keywords": ["federated", "activitypub", "bun"],
"workspaces": ["packages/plugin-kit"],
"maintainers": [
{
"email": "contact@cpluspatch.com",
"name": "Jesse Wierzbinski",
"url": "https://cpluspatch.com"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/versia-pub/server.git"
},
"private": true,
"scripts": {
"dev": "bun run --hot index.ts",
"start": "NODE_ENV=production bun run dist/index.js --prod",
"lint": "bunx @biomejs/biome check .",
"build": "bun run build.ts",
"build:worker": "bun run build-worker.ts",
"cloc": "cloc . --exclude-dir node_modules,dist,.output,.nuxt,meta,logs --exclude-ext sql,log,pem",
"wc": "find server database *.ts docs packages types utils drizzle tests -type f -print0 | wc -m --files0-from=-",
"cli": "bun run cli/index.ts",
"prune": "ts-prune | grep -v server/ | grep -v dist/ | grep -v '(used in module)'",
"schema:generate": "bun run packages/config-manager/json-schema.ts > config/config.schema.json && bun run packages/plugin-kit/json-schema.ts > packages/plugin-kit/manifest.schema.json",
"check": "bunx tsc -p .",
"test": "find . -name \"*.test.ts\" -not -path \"./node_modules/*\" | xargs -I {} sh -c 'bun test {} || exit 255'",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"trustedDependencies": [
"@biomejs/biome",
"@fortawesome/fontawesome-common-types",
"@fortawesome/free-regular-svg-icons",
"@fortawesome/free-solid-svg-icons",
"es5-ext",
"esbuild",
"json-editor-vue",
"msgpackr-extract",
"nuxt-app",
"sharp",
"vue-demi"
],
"oclif": {
"bin": "cli",
"dirname": "cli",
"commands": {
"strategy": "explicit",
"target": "./cli/index",
"identifier": "commands"
},
"additionalHelpFlags": ["-h"],
"additionalVersionFlags": ["-v"],
"plugins": [],
"description": "CLI to interface with the Versia project",
"topicSeparator": " ",
"topics": {
"user": {
"description": "Manage users"
}
},
"theme": "./cli/theme.json",
"flexibleTaxonomy": true
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/bun": "^1.1.14",
"@types/cli-progress": "^3.11.6",
"@types/cli-table": "^0.3.4",
"@types/html-to-text": "^9.0.4",
"@types/jsonld": "^1.5.15",
"@types/markdown-it-container": "^2.0.10",
"@types/mime-types": "^2.1.4",
"@types/pg": "^8.11.10",
"@types/qs": "^6.9.17",
"drizzle-kit": "^0.30.1",
"markdown-it-image-figures": "^2.1.1",
"markdown-it-mathjax3": "^4.3.2",
"oclif": "^4.17.7",
"ts-prune": "^0.10.3",
"typescript": "^5.7.2",
"vitepress": "^1.5.0",
"vitepress-plugin-tabs": "^0.5.0",
"vitepress-sidebar": "^1.30.2",
"vue": "^3.5.13",
"zod-to-json-schema": "^3.24.1"
},
"peerDependencies": {
"typescript": "^5.3.2"
},
"dependencies": {
"@bradenmacdonald/s3-lite-client": "npm:@jsr/bradenmacdonald__s3-lite-client",
"@bull-board/api": "^6.5.4",
"@bull-board/hono": "^6.5.4",
"@hackmd/markdown-it-task-lists": "^2.1.4",
"@hono/prometheus": "^1.0.1",
"@hono/swagger-ui": "^0.5.0",
"@hono/zod-openapi": "0.18.3",
"@inquirer/confirm": "^5.1.1",
"@inquirer/input": "^4.1.1",
"@json2csv/plainjs": "^7.0.6",
"@logtape/logtape": "npm:@jsr/logtape__logtape@0.9.0-dev.114+327c9473",
"@oclif/core": "^4.2.0",
"@sentry/bun": "^8.47.0",
"@tufjs/canonical-json": "^2.0.0",
"@versia/client": "^0.1.4",
"@versia/federation": "^0.1.4",
"@versia/kit": "workspace:*",
"altcha-lib": "^1.2.0",
"blurhash": "^2.0.5",
"bullmq": "^5.34.5",
"c12": "^2.0.1",
"chalk": "^5.4.1",
"cli-progress": "^3.12.0",
"cli-table": "^0.3.11",
"confbox": "^0.1.8",
"drizzle-orm": "^0.38.3",
"extract-zip": "^2.0.1",
"hono": "^4.6.15",
"html-to-text": "^9.0.5",
"ioredis": "^5.4.2",
"ip-matching": "^2.1.2",
"iso-639-1": "^3.1.3",
"jose": "^5.9.6",
"linkify-html": "^4.2.0",
"linkify-string": "^4.2.0",
"linkifyjs": "^4.2.0",
"magic-regexp": "^0.8.0",
"markdown-it": "^14.1.0",
"markdown-it-anchor": "^9.2.0",
"markdown-it-container": "^4.0.0",
"markdown-it-toc-done-right": "^4.2.0",
"mime-types": "^2.1.35",
"mitata": "^1.0.23",
"oauth4webapi": "^3.1.4",
"ora": "^8.1.1",
"pg": "^8.13.1",
"prom-client": "^15.1.3",
"qs": "^6.13.1",
"sharp": "^0.33.5",
"sonic-channel": "^1.3.1",
"string-comparison": "^1.3.0",
"stringify-entities": "^4.0.4",
"strip-ansi": "^7.1.0",
"table": "^6.9.0",
"unzipit": "^1.4.3",
"uqr": "^0.1.2",
"xss": "^1.0.15",
"zod": "^3.24.1",
"zod-validation-error": "^3.4.0"
},
"overrides": {
"zod": "^3.24.1"
},
"patchedDependencies": {
"@bull-board/api@6.5.3": "patches/@bull-board%2Fapi@6.5.3.patch"
}
}