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-23 17:03:36 +0200
committerGitHub <noreply@github.com>2021-09-23 17:03:36 +0200
commit265dd70ce9964821c8d179e9636af39ac83881b0 (patch)
tree94eddae38c87522d56a5a08e4172aed4971c2320 /gateway/package.json
parentMerge pull request #394 from ChrisChrome/erlpack-fix (diff)
parent:bug: prepare/postinstall only works for packages not local npm install (diff)
downloadserver-ts-265dd70ce9964821c8d179e9636af39ac83881b0.tar.xz
Merge pull request #372 from fosscord/unittests
Automatic Unittests + documentation
Diffstat (limited to 'gateway/package.json')
-rw-r--r--gateway/package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/gateway/package.json b/gateway/package.json

index 44ba90fa..d0292925 100644 --- a/gateway/package.json +++ b/gateway/package.json
@@ -4,8 +4,9 @@ "description": "", "main": "dist/index.js", "scripts": { + "postinstall": "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" }, @@ -22,7 +23,9 @@ "@types/node-fetch": "^2.5.12", "@types/uuid": "^8.3.0", "@types/ws": "^7.4.0", + "@zerollup/ts-transform-paths": "^1.7.18", "ts-node-dev": "^1.1.6", + "ts-patch": "^1.4.4", "typescript": "^4.2.3" }, "dependencies": {