{ "name": "fosscord-server", "version": "1.0.0", "description": "A Fosscord server written in Node.js", "scripts": { "prepare": "husky install", "postinstall": "npx patch-package", "start": "node dist/bundle/start.js", "start:api": "node dist/api/start.js", "start:cdn": "node dist/cdn/start.js", "start:gateway": "node dist/gateway/start.js", "build": "tsc -p .", "lint": "eslint .", "setup": "npm run build && npm run generate:schema", "sync:db": "npm run build && node scripts/syncronise.js", "generate:rights": "node scripts/rights.js", "generate:schema": "node scripts/schema.js", "generate:client": "node scripts/client.js", "generate:changelog": "node scripts/changelog.js", "generate:migration": "node -r dotenv/config -r module-alias/register node_modules/typeorm/cli.js migration:generate -d dist/util/util/Database.js", "generate:openapi": "node scripts/openapi.js", "add:license": "node scripts/license.js", "migrate-from-staging": "node -r dotenv/config -r module-alias/register scripts/stagingMigration/index.js" }, "main": "dist/bundle/index.js", "types": "src/bundle/index.ts", "repository": { "type": "git", "url": "git+https://github.com/fosscord/fosscord-server.git" }, "author": "Fosscord", "license": "AGPL-3.0-only", "bugs": { "url": "https://github.com/fosscord/fosscord-server/issues" }, "imports": { "#*": "./dist/*/index.js" }, "homepage": "https://fosscord.com", "devDependencies": { "@types/amqplib": "^0.10.1", "@types/bcrypt": "^5.0.0", "@types/body-parser": "^1.19.2", "@types/cookie-parser": "^1.4.3", "@types/express": "^4.17.15", "@types/json-bigint": "^1.0.1", "@types/jsonwebtoken": "^9.0.1", "@types/morgan": "^1.9.3", "@types/multer": "^1.4.7", "@types/node": "^18.7.20", "@types/node-fetch": "^2.6.2", "@types/node-os-utils": "^1.3.0", "@types/nodemailer": "^6.4.7", "@types/probe-image-size": "^7.2.0", "@types/sharp": "^0.31.0", "@types/ws": "^8.5.3", "@typescript-eslint/eslint-plugin": "^5.48.2", "@typescript-eslint/parser": "^5.48.2", "eslint": "^8.32.0", "express": "^4.18.1", "husky": "^8.0.0", "prettier": "^2.7.1", "pretty-quick": "^3.1.3", "typescript": "^5.0.2" }, "dependencies": { "@aws-sdk/client-s3": "^3.178.0", "@sentry/integrations": "^7.17.2", "@sentry/node": "^7.17.2", "@sentry/tracing": "^7.17.2", "ajv": "8.6.2", "ajv-formats": "2.1.1", "amqplib": "^0.10.3", "bcrypt": "^5.0.1", "body-parser": "1.20.1", "cheerio": "^1.0.0-rc.12", "cookie-parser": "^1.4.6", "dotenv": "^16.0.2", "exif-be-gone": "^1.3.1", "fast-zlib": "^2.0.1", "fido2-lib": "^3.3.5", "file-type": "16.5.4", "form-data": "^4.0.0", "i18next": "^22.4.12", "i18next-fs-backend": "^2.1.1", "image-size": "^1.0.2", "json-bigint": "^1.0.0", "jsonwebtoken": "^9.0.0", "lambert-server": "^1.2.12", "missing-native-js-functions": "^1.2.18", "module-alias": "^2.2.2", "morgan": "^1.10.0", "multer": "^1.4.5-lts.1", "node-2fa": "^2.0.3", "node-fetch": "^2.6.9", "node-os-utils": "^1.3.7", "nodemailer": "^6.9.0", "picocolors": "^1.0.0", "probe-image-size": "^7.2.3", "proxy-agent": "^5.0.0", "reflect-metadata": "^0.1.13", "ts-node": "^10.9.1", "tslib": "^2.4.1", "typeorm": "^0.3.10", "typescript-json-schema": "^0.50.1", "ws": "^8.9.0" }, "_moduleAliases": { "@fosscord/api": "dist/api", "@fosscord/cdn": "dist/cdn", "@fosscord/gateway": "dist/gateway", "@fosscord/util": "dist/util" }, "optionalDependencies": { "erlpack": "^0.1.4", "nodemailer-mailgun-transport": "^2.1.5", "nodemailer-mailjet-transport": "github:n0script22/nodemailer-mailjet-transport", "nodemailer-sendgrid-transport": "github:Maria-Golomb/nodemailer-sendgrid-transport", "sqlite3": "^5.1.6" } }