summary refs log tree commit diff
path: root/util/package.json
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-07 18:20:03 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-07 18:20:03 +0200
commitc75c6f508dbbfdd9c93f0ec404d11beeb57b21ae (patch)
treef7da476d23f131fd89522142cd48ed5b26ce798f /util/package.json
parent:bug: fix swcrc config: rewrite import -> require (diff)
downloadserver-ts-c75c6f508dbbfdd9c93f0ec404d11beeb57b21ae.tar.xz
:bug: fix types + swcrc configs
Diffstat (limited to 'util/package.json')
-rw-r--r--util/package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/package.json b/util/package.json

index 50049e23..640d8926 100644 --- a/util/package.json +++ b/util/package.json
@@ -3,12 +3,12 @@ "version": "1.0.0", "description": "Utility functions for the all server repositories", "main": "dist/index.js", - "types": "dist/index.d.ts", + "types": "src/index.ts", "scripts": { "start": "npm run build && node dist/", "test": "npm run build && jest", "postinstall": "npm run build", - "build": "swc src --out-dir dist" + "build": "tsc -b ." }, "repository": { "type": "git",