summary refs log tree commit diff
path: root/cdn/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
commit7db9086dd09ffccf71f57d8ce3df84c47c9cfa24 (patch)
treeaf0d68e64fa444c7927774813da366b539cb2876 /cdn/package.json
parent:arrow_up: update packages (diff)
downloadserver-7db9086dd09ffccf71f57d8ce3df84c47c9cfa24.tar.xz
Compiler test
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"
 	},