1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-05 10:22:31 +01:00
server/package.json

128 lines
3.8 KiB
JSON
Raw Normal View History

2022-04-26 20:34:15 +02:00
{
2023-03-31 06:52:33 +02:00
"name": "spacebar-server",
2022-04-26 20:34:15 +02:00
"version": "1.0.0",
2023-03-31 06:52:33 +02:00
"description": "A Spacebar server written in Node.js",
"scripts": {
2023-01-05 08:56:39 +01:00
"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 .",
2023-04-18 13:22:55 +02:00
"test": "node scripts/test.js",
"lint": "eslint .",
"setup": "npm run build && npm run generate:schema",
2022-08-12 01:46:42 +02:00
"sync:db": "npm run build && node scripts/syncronise.js",
"generate:rights": "node scripts/rights.js",
2022-09-26 12:33:57 +02:00
"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",
2022-04-26 20:34:15 +02:00
"repository": {
"type": "git",
2023-03-31 06:52:33 +02:00
"url": "git+https://github.com/spacebarchat/server.git"
2022-04-26 20:34:15 +02:00
},
2023-03-31 06:52:33 +02:00
"author": "Spacebar",
"license": "AGPL-3.0-only",
2022-04-26 20:34:15 +02:00
"bugs": {
2023-03-31 06:52:33 +02:00
"url": "https://github.com/spacebarchat/server/issues"
2022-04-26 20:34:15 +02:00
},
"imports": {
"#*": "./dist/*/index.js"
},
2023-03-31 06:52:33 +02:00
"homepage": "https://spacebar.chat",
"devDependencies": {
"@types/amqplib": "^0.8.2",
"@types/bcrypt": "^5.0.0",
2022-12-21 05:18:52 +01:00
"@types/body-parser": "^1.19.2",
"@types/cookie-parser": "^1.4.3",
2023-08-06 16:48:22 +02:00
"@types/express": "^4.17.17",
"@types/i18next-node-fs-backend": "^2.1.2",
"@types/json-bigint": "^1.0.1",
2023-08-12 08:06:15 +02:00
"@types/jsonwebtoken": "^9.0.2",
2023-08-06 16:48:22 +02:00
"@types/morgan": "^1.9.4",
"@types/multer": "^1.4.7",
"@types/murmurhash-js": "^1.0.4",
2023-08-06 16:48:22 +02:00
"@types/node": "^18.17.3",
"@types/node-fetch": "^2.6.4",
"@types/node-os-utils": "^1.3.1",
"@types/nodemailer": "^6.4.9",
2022-10-01 06:44:32 +02:00
"@types/probe-image-size": "^7.2.0",
2023-08-06 16:48:22 +02:00
"@types/sharp": "^0.31.1",
"@types/ws": "^8.5.5",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.56.0",
2023-08-06 16:48:22 +02:00
"express": "^4.18.2",
"husky": "^8.0.3",
"prettier": "^2.8.8",
2023-01-05 08:56:39 +01:00
"pretty-quick": "^3.1.3",
2023-08-06 16:48:22 +02:00
"typescript": "^4.9.5"
},
"dependencies": {
2023-08-06 16:48:22 +02:00
"@aws-sdk/client-s3": "^3.385.0",
2023-09-02 06:10:32 +02:00
"@sentry/integrations": "^7.66.0",
"@sentry/node": "^7.66.0",
2022-12-17 09:41:49 +01:00
"ajv": "8.6.2",
"ajv-formats": "2.1.1",
2022-09-26 14:29:30 +02:00
"amqplib": "^0.10.3",
2023-08-06 16:48:22 +02:00
"bcrypt": "^5.1.0",
2022-12-30 13:19:05 +01:00
"body-parser": "1.20.1",
"cheerio": "^1.0.0-rc.12",
"cookie-parser": "^1.4.6",
2023-08-06 16:48:22 +02:00
"dotenv": "^16.3.1",
"exif-be-gone": "^1.3.2",
"fast-zlib": "^2.0.1",
2023-08-06 16:48:22 +02:00
"fido2-lib": "^3.4.1",
"file-type": "~16.5.4",
"form-data": "^4.0.0",
2023-08-06 16:48:22 +02:00
"i18next": "^21.10.0",
"i18next-fs-backend": "^2.1.5",
2023-08-06 16:48:22 +02:00
"i18next-http-middleware": "^3.3.2",
"image-size": "^1.0.2",
"json-bigint": "^1.0.0",
2023-08-12 08:06:15 +02:00
"jsonwebtoken": "^9.0.1",
"lambert-server": "^1.2.12",
2023-08-06 16:48:22 +02:00
"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",
2023-08-06 16:48:22 +02:00
"node-fetch": "^2.6.12",
"node-os-utils": "^1.3.7",
2023-08-06 16:48:22 +02:00
"nodemailer": "^6.9.4",
"picocolors": "^1.0.0",
2022-10-01 06:44:32 +02:00
"probe-image-size": "^7.2.3",
2023-08-07 04:20:02 +02:00
"proxy-agent": "^6.3.0",
2022-12-21 05:18:52 +01:00
"reflect-metadata": "^0.1.13",
2022-12-27 08:50:33 +01:00
"ts-node": "^10.9.1",
2023-08-06 16:48:22 +02:00
"tslib": "^2.6.1",
"typeorm": "^0.3.17",
2022-12-27 08:50:33 +01:00
"typescript-json-schema": "^0.50.1",
2023-08-06 16:48:22 +02:00
"wretch": "^2.6.0",
"ws": "^8.17.1"
},
"_moduleAliases": {
2023-03-31 06:52:33 +02:00
"@spacebar/api": "dist/api",
"@spacebar/cdn": "dist/cdn",
"@spacebar/gateway": "dist/gateway",
"@spacebar/util": "dist/util"
},
"optionalDependencies": {
"erlpack": "^0.1.4",
2024-02-19 11:09:50 +01:00
"mysql": "^2.18.1",
2023-01-21 19:53:26 +01:00
"nodemailer-mailgun-transport": "^2.1.5",
2023-02-24 06:39:17 +01:00
"nodemailer-mailjet-transport": "github:n0script22/nodemailer-mailjet-transport",
"nodemailer-sendgrid-transport": "github:Maria-Golomb/nodemailer-sendgrid-transport",
2024-02-19 11:09:50 +01:00
"pg": "^8.11.3",
2023-08-06 16:48:22 +02:00
"sqlite3": "^5.1.6"
}
2022-04-26 20:34:15 +02:00
}