mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-25 11:43:07 +01:00
132 lines
4.0 KiB
JSON
132 lines
4.0 KiB
JSON
{
|
|
"name": "spacebar-server",
|
|
"version": "1.0.0",
|
|
"description": "A Spacebar 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 .",
|
|
"watch": "tsc -w -p .",
|
|
"test": "node scripts/test.js",
|
|
"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: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/spacebarchat/server.git"
|
|
},
|
|
"author": "Spacebar",
|
|
"license": "AGPL-3.0-only",
|
|
"bugs": {
|
|
"url": "https://github.com/spacebarchat/server/issues"
|
|
},
|
|
"imports": {
|
|
"#*": "./dist/*/index.js"
|
|
},
|
|
"homepage": "https://spacebar.chat",
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3.1.0",
|
|
"@eslint/js": "^9.14.0",
|
|
"@types/amqplib": "^0.10.5",
|
|
"@types/bcrypt": "^5.0.2",
|
|
"@types/body-parser": "^1.19.5",
|
|
"@types/cookie-parser": "^1.4.7",
|
|
"@types/express": "^4.17.21",
|
|
"@types/i18next-node-fs-backend": "^2.1.5",
|
|
"@types/json-bigint": "^1.0.4",
|
|
"@types/jsonwebtoken": "^9.0.7",
|
|
"@types/module-alias": "^2.0.4",
|
|
"@types/morgan": "^1.9.9",
|
|
"@types/multer": "^1.4.12",
|
|
"@types/murmurhash-js": "^1.0.6",
|
|
"@types/node": "^22.8.4",
|
|
"@types/node-fetch": "^2.6.11",
|
|
"@types/node-os-utils": "^1.3.4",
|
|
"@types/nodemailer": "^6.4.16",
|
|
"@types/probe-image-size": "^7.2.5",
|
|
"@types/sharp": "^0.31.1",
|
|
"@types/ws": "^8.5.12",
|
|
"@typescript-eslint/eslint-plugin": "^8.12.2",
|
|
"@typescript-eslint/parser": "^8.12.2",
|
|
"eslint": "^9.13.0",
|
|
"express": "^4.21.1",
|
|
"globals": "^15.12.0",
|
|
"husky": "^9.1.6",
|
|
"prettier": "^3.3.3",
|
|
"pretty-quick": "^4.0.0",
|
|
"typescript": "^5.6.3"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.682.0",
|
|
"@sentry/node": "^8.35.0",
|
|
"ajv": "^8.17.1",
|
|
"ajv-formats": "^3.0.1",
|
|
"amqplib": "^0.10.4",
|
|
"bcrypt": "^5.1.1",
|
|
"body-parser": "^1.20.3",
|
|
"cheerio": "^1.0.0",
|
|
"cookie-parser": "^1.4.7",
|
|
"dotenv": "^16.4.5",
|
|
"exif-be-gone": "^1.5.1",
|
|
"fast-zlib": "^2.0.1",
|
|
"fido2-lib": "^3.5.3",
|
|
"file-type": "~16.5.4",
|
|
"form-data": "^4.0.1",
|
|
"i18next": "^23.16.4",
|
|
"i18next-fs-backend": "^2.3.2",
|
|
"i18next-http-middleware": "^3.6.0",
|
|
"image-size": "^1.1.1",
|
|
"json-bigint": "^1.0.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"lambert-server": "^1.2.12",
|
|
"missing-native-js-functions": "^1.4.3",
|
|
"module-alias": "^2.2.3",
|
|
"morgan": "^1.10.0",
|
|
"multer": "^1.4.5-lts.1",
|
|
"murmurhash-js": "^1.0.0",
|
|
"node-2fa": "^2.0.3",
|
|
"node-fetch-commonjs": "^3.3.2",
|
|
"node-os-utils": "^1.3.7",
|
|
"nodemailer": "^6.9.16",
|
|
"picocolors": "^1.1.1",
|
|
"probe-image-size": "^7.2.3",
|
|
"proxy-agent": "^6.4.0",
|
|
"reflect-metadata": "^0.2.2",
|
|
"ts-node": "^10.9.2",
|
|
"tslib": "^2.8.0",
|
|
"typeorm": "^0.3.20",
|
|
"typescript-json-schema": "^0.50.1",
|
|
"wretch": "^2.11.0",
|
|
"ws": "^8.18.0"
|
|
},
|
|
"_moduleAliases": {
|
|
"@spacebar/api": "dist/api",
|
|
"@spacebar/cdn": "dist/cdn",
|
|
"@spacebar/gateway": "dist/gateway",
|
|
"@spacebar/util": "dist/util"
|
|
},
|
|
"optionalDependencies": {
|
|
"@yukikaze-bot/erlpack": "^1.0.1",
|
|
"jimp": "^1.6.0",
|
|
"mysql": "^2.18.1",
|
|
"nodemailer-mailgun-transport": "^2.1.5",
|
|
"nodemailer-mailjet-transport": "github:n0script22/nodemailer-mailjet-transport",
|
|
"nodemailer-sendgrid-transport": "github:Maria-Golomb/nodemailer-sendgrid-transport",
|
|
"pg": "^8.13.1",
|
|
"sqlite3": "^5.1.7"
|
|
}
|
|
}
|