summary refs log tree commit diff
path: root/bundle/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 /bundle/package.json
parent:sparkles: generate test responses (diff)
downloadserver-578cc8b4b616518eae2e4cd9ccabf1bdb4f29980.tar.xz
:art: use typescript plugin that converts to relative paths
Diffstat (limited to 'bundle/package.json')
-rw-r--r--bundle/package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundle/package.json b/bundle/package.json
index 83f26116..7cf4ba40 100644
--- a/bundle/package.json
+++ b/bundle/package.json
@@ -4,6 +4,7 @@
 	"description": "",
 	"main": "src/start.js",
 	"scripts": {
+		"prepare": "ts-patch install -s",
 		"preinstall": "cd ../util && npm i && cd ../api && npm i && cd ../cdn && npm i && cd ../gateway && npm i",
 		"build": "npm run build:util && npm run build:api && npm run build:cdn && npm run build:gateway && npm run build:bundle",
 		"build:bundle": "npx tsc -b .",
@@ -12,7 +13,7 @@
 		"build:cdn": "cd ../cdn/ && npm run build",
 		"build:gateway": "cd ../gateway/ && npm run build",
 		"start": "npm run build && npm run start:bundle",
-		"start:bundle": "node -r ./tsconfig-paths-bootstrap.js dist/start.js",
+		"start:bundle": "node dist/start.js",
 		"test": "echo \"Error: no test specified\" && exit 1"
 	},
 	"repository": {
@@ -43,6 +44,7 @@
 		"@types/uuid": "^8.3.0",
 		"@types/ws": "^7.4.0",
 		"@zerollup/ts-transform-paths": "^1.7.18",
+		"ts-patch": "^1.4.4",
 		"typescript": "^4.3.5"
 	},
 	"dependencies": {