🐛 fix swc config

This commit is contained in:
Flam3rboy
2021-10-07 18:21:17 +02:00
parent a78baa048d
commit 8bb38139c2
16 changed files with 105 additions and 1317 deletions
+13 -8
View File
@@ -1,9 +1,14 @@
{
"jsc": {
"parser": {
"syntax": "typescript",
"decorators": true
},
"target": "es2021"
}
}
"jsc": {
"parser": {
"syntax": "typescript",
"decorators": true
},
"target": "es2021",
"baseUrl": ".",
"paths": {
"@fosscord/gateway": ["src/index"],
"@fosscord/gateway/*": ["src/*"]
}
}
}
+2
View File
@@ -8077,6 +8077,7 @@
"node_modules/fsevents": {
"version": "2.3.2",
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
"dev": true,
"hasInstallScript": true,
"optional": true,
"os": [
@@ -16088,6 +16089,7 @@
"fsevents": {
"version": "2.3.2",
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
"dev": true,
"optional": true
},
"function-bind": {
+2 -1
View File
@@ -3,11 +3,12 @@
"version": "1.0.0",
"description": "",
"main": "dist/index.js",
"types": "src/index.ts",
"scripts": {
"postinstall": "npx ts-patch install -s",
"test": "echo \"Error: no test specified\" && exit 1",
"start": "npm run build && node dist/start.js",
"build": "swc src --out-dir dist",
"build": "npx swc src --out-dir dist",
"dev": "tsnd --respawn src/start.ts"
},
"keywords": [],