summary refs log tree commit diff
path: root/gateway/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 /gateway/package.json
parent:sparkles: generate test responses (diff)
downloadserver-ts-578cc8b4b616518eae2e4cd9ccabf1bdb4f29980.tar.xz
:art: use typescript plugin that converts to relative paths
Diffstat (limited to 'gateway/package.json')
-rw-r--r--gateway/package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/gateway/package.json b/gateway/package.json

index 6b9e27d6..f5e66a9a 100644 --- a/gateway/package.json +++ b/gateway/package.json
@@ -4,8 +4,9 @@ "description": "", "main": "dist/index.js", "scripts": { + "prepare": "ts-patch install -s", "test": "echo \"Error: no test specified\" && exit 1", - "start": "npm run build && node -r ./scripts/tsconfig-paths-bootstrap.js dist/start.js", + "start": "npm run build && node dist/start.js", "build": "npx tsc -b .", "dev": "tsnd --respawn src/start.ts" }, @@ -23,6 +24,7 @@ "@types/uuid": "^8.3.0", "@types/ws": "^7.4.0", "ts-node-dev": "^1.1.6", + "ts-patch": "^1.4.4", "typescript": "^4.2.3" }, "dependencies": {