summary refs log tree commit diff
path: root/cdn/package.json
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-13 12:59:59 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-13 12:59:59 +0200
commit90d5307a5668030b414d35deeb2bb9b6845b76e0 (patch)
tree6dcb69012336c1222ac75ad539e0a576ada05a7c /cdn/package.json
parent:sparkles: server bundle (diff)
downloadserver-90d5307a5668030b414d35deeb2bb9b6845b76e0.tar.xz
rename @fosscord/server-util to -> @fosscord/util
Diffstat (limited to 'cdn/package.json')
-rw-r--r--cdn/package.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/cdn/package.json b/cdn/package.json
index bb7e7488..26f62b2c 100644
--- a/cdn/package.json
+++ b/cdn/package.json
@@ -5,6 +5,8 @@
 	"main": "dist/index.js",
 	"types": "dist/index.d.ts",
 	"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",
 		"build": "tsc -b .",
 		"start": "npm run build && node dist/start.js"
@@ -22,6 +24,7 @@
 	"homepage": "https://github.com/discord-open-source/discord-cdn#readme",
 	"dependencies": {
 		"@fosscord/server-util": "^1.3.42",
+		"@fosscord/util": "file:../util",
 		"body-parser": "^1.19.0",
 		"btoa": "^1.2.1",
 		"cheerio": "^1.0.0-rc.5",