summary refs log tree commit diff
path: root/bundle/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 /bundle/package.json
parent:arrow_up: update packages (diff)
downloadserver-7db9086dd09ffccf71f57d8ce3df84c47c9cfa24.tar.xz
Compiler test
Diffstat (limited to 'bundle/package.json')
-rw-r--r--bundle/package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/bundle/package.json b/bundle/package.json
index cd2b9f44..fbb39042 100644
--- a/bundle/package.json
+++ b/bundle/package.json
@@ -7,7 +7,7 @@
 		"setup": "cd ../util && npm --production=false i && cd ../api && npm --production=false i && cd ../cdn && npm --production=false i && cd ../gateway && npm --production=false i && cd ../bundle/ && npm --production=false i && npm run build",
 		"build": "npm run build:util && npm run build:api && npm run build:cdn && npm run build:gateway && npm run build:bundle",
 		"postinstall": "ts-patch install -s",
-		"build:bundle": "npx tsc -b .",
+		"build:bundle": "swc src --out-dir dist",
 		"build:util": "cd ../util/ && npm run build",
 		"build:api": "cd ../api/ && npm run build",
 		"build:cdn": "cd ../cdn/ && npm run build",
@@ -28,6 +28,8 @@
 	},
 	"homepage": "https://fosscord.com",
 	"devDependencies": {
+		"@swc/cli": "^0.1.51",
+		"@swc/core": "^1.2.93",
 		"@types/amqplib": "^0.8.1",
 		"@types/async-exit-hook": "^2.0.0",
 		"@types/bcrypt": "^5.0.0",
@@ -59,6 +61,7 @@
 		"missing-native-js-functions": "^1.2.17",
 		"nanocolors": "^0.2.12",
 		"node-os-utils": "^1.3.5",
+		"swc": "^1.0.11",
 		"tsconfig-paths": "^3.11.0"
 	}
 }