summary refs log tree commit diff
path: root/cdn/package.json
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-18 01:50:20 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-18 01:50:20 +0200
commit578cc8b4b616518eae2e4cd9ccabf1bdb4f29980 (patch)
tree34a8e61bdaaa1dbf4add51c4fc5869a60b11596a /cdn/package.json
parent:sparkles: generate test responses (diff)
downloadserver-578cc8b4b616518eae2e4cd9ccabf1bdb4f29980.tar.xz
:art: use typescript plugin that converts to relative paths
Diffstat (limited to 'cdn/package.json')
-rw-r--r--cdn/package.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/cdn/package.json b/cdn/package.json
index 7c59381b..71211d67 100644
--- a/cdn/package.json
+++ b/cdn/package.json
@@ -5,9 +5,10 @@
 	"main": "dist/index.js",
 	"types": "dist/index.d.ts",
 	"scripts": {
+		"prepare": "ts-patch install -s",
 		"test": "npm run build && jest --coverage ./tests",
 		"build": "npx tsc -b .",
-		"start": "npm run build && node -r ./scripts/tsconfig-paths-bootstrap.js dist/start.js"
+		"start": "npm run build && node dist/start.js"
 	},
 	"repository": {
 		"type": "git",
@@ -34,7 +35,8 @@
 		"@types/multer": "^1.4.7",
 		"@types/node": "^14.17.0",
 		"@types/node-fetch": "^2.5.7",
-		"@types/uuid": "^8.3.0"
+		"@types/uuid": "^8.3.0",
+		"ts-patch": "^1.4.4"
 	},
 	"dependencies": {
 		"@fosscord/util": "file:../util",