summary refs log tree commit diff
path: root/gateway/package.json
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-07 18:21:17 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-07 18:21:17 +0200
commit8bb38139c2ba19e1332facc5c04eb1a0d0b7f5f0 (patch)
treee150573b77e6734f2a9b4eeb42cbab2f8123580e /gateway/package.json
parent:zap: fast build script (diff)
downloadserver-8bb38139c2ba19e1332facc5c04eb1a0d0b7f5f0.tar.xz
:bug: fix swc config
Diffstat (limited to 'gateway/package.json')
-rw-r--r--gateway/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/gateway/package.json b/gateway/package.json

index e3f3d172..d9a0ba6c 100644 --- a/gateway/package.json +++ b/gateway/package.json
@@ -3,11 +3,12 @@ "version": "1.0.0", "description": "", "main": "dist/index.js", + "types": "src/index.ts", "scripts": { "postinstall": "npx ts-patch install -s", "test": "echo \"Error: no test specified\" && exit 1", "start": "npm run build && node dist/start.js", - "build": "swc src --out-dir dist", + "build": "npx swc src --out-dir dist", "dev": "tsnd --respawn src/start.ts" }, "keywords": [],