diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-25 18:24:21 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-25 23:35:18 +1000 |
commit | f44f5d7ac2d24ff836c2e1d4b2fa58da04b13052 (patch) | |
tree | a6655c41bb3db79c30fd876b06ee60fe9cf70c9b /package.json | |
parent | Allow edited_timestamp to passthrough in handleMessage (diff) | |
download | server-f44f5d7ac2d24ff836c2e1d4b2fa58da04b13052.tar.xz |
Refactor to mono-repo + upgrade packages
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 73 |
1 files changed, 70 insertions, 3 deletions
diff --git a/package.json b/package.json index 8488ff28..ee6a3c6b 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,12 @@ "name": "fosscord-server", "version": "1.0.0", "description": "A Fosscord server written in Node.js", - "workspaces": ["api", "cdn", "gateway"], - "scripts": {}, + "scripts": { + "start": "node dist/bundle/start.js", + "build": "tsc -p ." + }, + "main": "dist/bundle/start.js", + "types": "src/bundle/index.js", "repository": { "type": "git", "url": "git+https://github.com/fosscord/fosscord-server.git" @@ -13,5 +17,68 @@ "bugs": { "url": "https://github.com/fosscord/fosscord-server/issues" }, - "homepage": "https://fosscord.com" + "imports": { + "#*": "./dist/*/index.js" + }, + "homepage": "https://fosscord.com", + "devDependencies": { + "@types/amqplib": "^0.8.2", + "@types/bcrypt": "^5.0.0", + "@types/cookie-parser": "^1.4.3", + "@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", + "@types/sharp": "^0.31.0", + "@types/ws": "^8.5.3", + "express": "^4.18.1", + "typescript": "^4.8.3" + }, + "dependencies": { + "ajv": "^8.11.0", + "ajv-formats": "^2.1.1", + "bcrypt": "^5.0.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", + "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", + "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", + "proxy-agent": "^5.0.0", + "sharp": "^0.31.0", + "sqlite3": "^5.1.1", + "typeorm": "^0.3.10", + "ws": "^8.9.0" + }, + "optionalDependencies": { + "@aws-sdk/client-s3": "^3.178.0", + "@sentry/node": "^7.13.0", + "@sentry/tracing": "^7.13.0", + "amqplib": "^0.10.3" + }, + "_moduleAliases": { + "@fosscord/api": "dist/api", + "@fosscord/cdn": "dist/cdn", + "@fosscord/gateway": "dist/gateway", + "@fosscord/util": "dist/util" + } } |