summary refs log tree commit diff
path: root/cdn/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'cdn/package.json')
-rw-r--r--cdn/package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/cdn/package.json b/cdn/package.json
index 24870318..addec363 100644
--- a/cdn/package.json
+++ b/cdn/package.json
@@ -7,7 +7,7 @@
 	"scripts": {
 		"postinstall": "ts-patch install -s",
 		"test": "npm run build && jest --coverage ./tests",
-		"build": "npx tsc -b .",
+		"build": "swc src --out-dir dist",
 		"start": "npm run build && node dist/start.js"
 	},
 	"repository": {
@@ -22,6 +22,8 @@
 	},
 	"homepage": "https://github.com/fosscord/fosscord-server#readme",
 	"devDependencies": {
+		"@swc/cli": "^0.1.51",
+		"@swc/core": "^1.2.93",
 		"@types/amqplib": "^0.8.1",
 		"@types/body-parser": "^1.19.0",
 		"@types/btoa": "^1.2.3",
@@ -59,6 +61,7 @@
 		"nanocolors": "^0.2.12",
 		"node-fetch": "^2.6.1",
 		"supertest": "^6.1.6",
+		"swc": "^1.0.11",
 		"typescript": "^4.1.2",
 		"uuid": "^8.3.2"
 	},