summary refs log tree commit diff
path: root/util/package.json
diff options
context:
space:
mode:
authorThe Arcane Brony <myrainbowdash949@gmail.com>2021-10-06 18:20:22 +0200
committerThe Arcane Brony <myrainbowdash949@gmail.com>2021-10-06 18:20:22 +0200
commit72af8dc71987fa41bd35c3949238ebf863159817 (patch)
treec3a4b1eac79ef2240bc7700fdbcca1c57ee0ba56 /util/package.json
parent:arrow_up: update packages (diff)
downloadserver-72af8dc71987fa41bd35c3949238ebf863159817.tar.xz
Compiler test
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",