diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-13 13:00:49 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-13 13:00:49 +0200 |
commit | 06fc341e2a6a34f13227a277cfc559b9e108befb (patch) | |
tree | 369885fe28a439891d5175249f8711fd09d39442 /gateway/package.json | |
parent | :sparkles: event emit (diff) | |
download | server-06fc341e2a6a34f13227a277cfc559b9e108befb.tar.xz |
abstract Event emission
Diffstat (limited to 'gateway/package.json')
-rw-r--r-- | gateway/package.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gateway/package.json b/gateway/package.json index 4a6043d6..98eb04a3 100644 --- a/gateway/package.json +++ b/gateway/package.json @@ -4,9 +4,11 @@ "description": "", "main": "dist/index.js", "scripts": { + "link": "npm run build && npm link", + "postinstall": "npm run --prefix ../util/ link && npm link @fosscord/util && npm run link", "test": "echo \"Error: no test specified\" && exit 1", "start": "npm run build && node dist/start.js", - "build": "npx tsc -b .", + "build": "tsc -b .", "dev": "tsnd --respawn src/start.ts" }, "keywords": [], @@ -14,6 +16,7 @@ "license": "ISC", "dependencies": { "@fosscord/server-util": "^1.3.51", + "@fosscord/util": "file:../util", "ajv": "^8.5.0", "amqplib": "^0.8.0", "dotenv": "^8.2.0", |