summary refs log tree commit diff
path: root/util/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'util/package.json')
-rw-r--r--util/package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/util/package.json b/util/package.json
index 33abf483..50049e23 100644
--- a/util/package.json
+++ b/util/package.json
@@ -8,7 +8,7 @@
 		"start": "npm run build && node dist/",
 		"test": "npm run build && jest",
 		"postinstall": "npm run build",
-		"build": "npx tsc -b ."
+		"build": "swc src --out-dir dist"
 	},
 	"repository": {
 		"type": "git",
@@ -28,6 +28,8 @@
 	},
 	"homepage": "https://docs.fosscord.com/",
 	"devDependencies": {
+		"@swc/cli": "^0.1.51",
+		"@swc/core": "^1.2.93",
 		"@types/amqplib": "^0.8.1",
 		"@types/jsonwebtoken": "^8.5.0",
 		"@types/mongoose-autopopulate": "^0.10.1",
@@ -52,6 +54,7 @@
 		"pg": "^8.7.1",
 		"reflect-metadata": "^0.1.13",
 		"sqlite3": "^5.0.2",
+		"swc": "^1.0.11",
 		"tsconfig-paths": "^3.11.0",
 		"typeorm": "^0.2.37",
 		"typescript": "^4.4.2",