1 files changed, 3 insertions, 0 deletions
diff --git a/api/package.json b/api/package.json
index bb22f94c..96afa82e 100644
--- a/api/package.json
+++ b/api/package.json
@@ -5,6 +5,8 @@
"main": "dist/Server.js",
"types": "dist/Server.d.ts",
"scripts": {
+ "link": "npm run build && npm link",
+ "postinstall": "npm run --prefix ../util/ link && npm link @fosscord/util && npm run link",
"test": "jest",
"test:watch": "jest --watch",
"start": "npm run build && node dist/start",
@@ -34,6 +36,7 @@
"homepage": "https://github.com/fosscord/fosscord-api#readme",
"dependencies": {
"@fosscord/server-util": "^1.3.52",
+ "@fosscord/util": "file:../util",
"@types/jest": "^26.0.22",
"@types/json-schema": "^7.0.7",
"ajv": "^8.4.0",
|