diff --git a/package.json b/package.json
index 2047cb37..f8509916 100644
--- a/package.json
+++ b/package.json
@@ -1,35 +1,42 @@
{
- "name": "fosscord-api",
+ "name": "@fosscord/api",
"version": "1.0.0",
"description": "This repository contains the HTTP API Server",
- "main": "index.js",
+ "main": "dist/Server.js",
+ "types": "dist/Server.d.ts",
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
- "start": "npm run build:util && npm run build && node dist/",
+ "start": "npm run build:util && npm run build && node dist/start",
"build": "tsc -b .",
- "build:util": "tsc -b ./node_modules/fosscord-server-util/",
- "postinstall": "npm i github:fosscord/fosscord-server-util && patch-package"
+ "build:util": "tsc -b ./node_modules/@fosscord/server-util/",
+ "postinstall": "patch-package"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fosscord/fosscord-api.git"
},
- "keywords": [],
- "author": "",
+ "keywords": [
+ "discord",
+ "fosscord",
+ "fosscord-api",
+ "discord open source",
+ "discord-open-source"
+ ],
+ "author": "Fosscord",
"license": "ISC",
"bugs": {
"url": "https://github.com/fosscord/fosscord-api/issues"
},
"homepage": "https://github.com/fosscord/fosscord-api#readme",
"dependencies": {
+ "@fosscord/server-util": "^1.0.4",
"@types/jest": "^26.0.22",
"bcrypt": "^5.0.0",
"body-parser": "^1.19.0",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-validator": "^6.9.2",
- "fosscord-server-util": "github:fosscord/fosscord-server-util",
"i18next": "^19.8.5",
"i18next-http-middleware": "^3.1.0",
"i18next-node-fs-backend": "^2.1.3",
|