2022-04-26 20:34:15 +02:00
|
|
|
{
|
|
|
|
"name": "fosscord-server",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "A Fosscord server written in Node.js",
|
2022-09-25 10:24:21 +02:00
|
|
|
"scripts": {
|
2023-01-05 08:56:39 +01:00
|
|
|
"prepare": "husky install",
|
2022-09-26 05:23:05 +02:00
|
|
|
"postinstall": "npx patch-package",
|
2022-09-25 10:24:21 +02:00
|
|
|
"start": "node dist/bundle/start.js",
|
2022-10-31 03:16:29 +01:00
|
|
|
"start:api": "node dist/api/start.js",
|
|
|
|
"start:cdn": "node dist/cdn/start.js",
|
|
|
|
"start:gateway": "node dist/gateway/start.js",
|
2022-09-26 05:23:05 +02:00
|
|
|
"build": "tsc -p .",
|
2023-01-20 08:10:47 +01:00
|
|
|
"lint": "eslint .",
|
2022-10-24 10:46:33 +02:00
|
|
|
"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",
|
2022-09-26 05:25:32 +02:00
|
|
|
"generate:rights": "node scripts/rights.js",
|
2022-09-26 12:33:57 +02:00
|
|
|
"generate:schema": "node scripts/schema.js",
|
2022-10-27 05:46:20 +02:00
|
|
|
"generate:client": "node scripts/client.js",
|
2022-12-27 05:12:32 +01:00
|
|
|
"generate:changelog": "node scripts/changelog.js",
|
2023-01-05 07:04:15 +01:00
|
|
|
"generate:migration": "node -r dotenv/config -r module-alias/register node_modules/typeorm/cli.js migration:generate -d dist/util/util/Database.js",
|
2023-01-06 09:30:03 +01:00
|
|
|
"generate:openapi": "node scripts/openapi.js",
|
2023-01-18 03:05:49 +01:00
|
|
|
"add:license": "node scripts/license.js",
|
2023-01-05 07:04:15 +01:00
|
|
|
"migrate-from-staging": "node -r dotenv/config -r module-alias/register scripts/stagingMigration/index.js"
|
2022-09-25 10:24:21 +02:00
|
|
|
},
|
2022-09-26 05:23:05 +02:00
|
|
|
"main": "dist/bundle/index.js",
|
|
|
|
"types": "src/bundle/index.ts",
|
2022-04-26 20:34:15 +02:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/fosscord/fosscord-server.git"
|
|
|
|
},
|
|
|
|
"author": "Fosscord",
|
2022-06-02 17:33:50 +02:00
|
|
|
"license": "AGPL-3.0-only",
|
2022-04-26 20:34:15 +02:00
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/fosscord/fosscord-server/issues"
|
|
|
|
},
|
2022-09-25 10:24:21 +02:00
|
|
|
"imports": {
|
|
|
|
"#*": "./dist/*/index.js"
|
|
|
|
},
|
|
|
|
"homepage": "https://fosscord.com",
|
|
|
|
"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",
|
2022-09-25 10:24:21 +02:00
|
|
|
"@types/cookie-parser": "^1.4.3",
|
2022-12-21 05:18:52 +01:00
|
|
|
"@types/express": "^4.17.15",
|
2022-09-25 10:24:21 +02:00
|
|
|
"@types/i18next-node-fs-backend": "^2.1.1",
|
|
|
|
"@types/json-bigint": "^1.0.1",
|
|
|
|
"@types/jsonwebtoken": "^8.5.9",
|
|
|
|
"@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",
|
2022-10-01 06:44:32 +02:00
|
|
|
"@types/probe-image-size": "^7.2.0",
|
2022-09-25 10:24:21 +02:00
|
|
|
"@types/sharp": "^0.31.0",
|
|
|
|
"@types/ws": "^8.5.3",
|
2023-01-20 08:10:47 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
|
|
|
"@typescript-eslint/parser": "^5.48.2",
|
|
|
|
"eslint": "^8.32.0",
|
2022-09-25 10:24:21 +02:00
|
|
|
"express": "^4.18.1",
|
2023-01-05 08:56:39 +01:00
|
|
|
"husky": "^8.0.0",
|
2022-09-26 14:29:30 +02:00
|
|
|
"prettier": "^2.7.1",
|
2023-01-05 08:56:39 +01:00
|
|
|
"pretty-quick": "^3.1.3",
|
2023-01-20 08:10:47 +01:00
|
|
|
"typescript": "^4.9.4"
|
2022-09-25 10:24:21 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-09-26 14:29:30 +02:00
|
|
|
"@aws-sdk/client-s3": "^3.178.0",
|
2022-10-30 02:33:27 +02:00
|
|
|
"@sentry/integrations": "^7.17.2",
|
|
|
|
"@sentry/node": "^7.17.2",
|
|
|
|
"@sentry/tracing": "^7.17.2",
|
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",
|
2022-09-25 10:24:21 +02:00
|
|
|
"bcrypt": "^5.0.1",
|
2022-12-30 13:19:05 +01:00
|
|
|
"body-parser": "1.20.1",
|
2022-09-25 10:24:21 +02:00
|
|
|
"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",
|
2023-01-30 03:30:42 +01:00
|
|
|
"fido2-lib": "^3.3.5",
|
2022-09-25 10:24:21 +02:00
|
|
|
"file-type": "16.5",
|
|
|
|
"form-data": "^4.0.0",
|
|
|
|
"i18next": "^21.9.2",
|
|
|
|
"i18next-http-middleware": "^3.2.1",
|
|
|
|
"i18next-node-fs-backend": "^2.1.3",
|
|
|
|
"image-size": "^1.0.2",
|
|
|
|
"json-bigint": "^1.0.0",
|
|
|
|
"jsonwebtoken": "^8.5.1",
|
|
|
|
"lambert-server": "^1.2.12",
|
2022-12-21 05:18:52 +01:00
|
|
|
"missing-native-js-functions": "^1.2.18",
|
2022-09-25 10:24:21 +02:00
|
|
|
"module-alias": "^2.2.2",
|
|
|
|
"morgan": "^1.10.0",
|
|
|
|
"multer": "^1.4.5-lts.1",
|
|
|
|
"node-2fa": "^2.0.3",
|
|
|
|
"node-fetch": "^2.6.7",
|
|
|
|
"node-os-utils": "^1.3.7",
|
|
|
|
"picocolors": "^1.0.0",
|
2022-10-01 06:44:32 +02:00
|
|
|
"probe-image-size": "^7.2.3",
|
2022-09-25 10:24:21 +02:00
|
|
|
"proxy-agent": "^5.0.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",
|
2022-12-21 05:18:52 +01:00
|
|
|
"tslib": "^2.4.1",
|
2022-09-25 10:24:21 +02:00
|
|
|
"typeorm": "^0.3.10",
|
2022-12-27 08:50:33 +01:00
|
|
|
"typescript-json-schema": "^0.50.1",
|
2022-09-26 14:29:30 +02:00
|
|
|
"ws": "^8.9.0"
|
2022-09-25 10:24:21 +02:00
|
|
|
},
|
|
|
|
"_moduleAliases": {
|
|
|
|
"@fosscord/api": "dist/api",
|
|
|
|
"@fosscord/cdn": "dist/cdn",
|
|
|
|
"@fosscord/gateway": "dist/gateway",
|
|
|
|
"@fosscord/util": "dist/util"
|
2023-02-01 03:00:04 +01:00
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
|
|
|
"erlpack": "^0.1.4",
|
|
|
|
"sqlite3": "^5.1.4"
|
2022-09-25 10:24:21 +02:00
|
|
|
}
|
2022-04-26 20:34:15 +02:00
|
|
|
}
|