mirror of
https://github.com/spacebarchat/server.git
synced 2026-08-28 07:24:08 +00:00
🐛 fix types + swcrc configs
This commit is contained in:
+6
-1
@@ -7,6 +7,11 @@
|
||||
"syntax": "typescript",
|
||||
"decorators": true
|
||||
},
|
||||
"target": "es2021"
|
||||
"target": "es2021",
|
||||
"baseUrl": "./",
|
||||
"paths": {
|
||||
"@fosscord/api": ["src/index.ts"],
|
||||
"@fosscord/api/*": ["src/*"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -2,8 +2,8 @@
|
||||
"name": "@fosscord/api",
|
||||
"version": "1.0.0",
|
||||
"description": "This repository contains the HTTP API Server",
|
||||
"main": "dist/Server.js",
|
||||
"types": "dist/Server.d.ts",
|
||||
"main": "dist/index.js",
|
||||
"types": "src/index.ts",
|
||||
"scripts": {
|
||||
"test:only": "jest --coverage --verbose --forceExit ./tests",
|
||||
"test:routes": "jest --coverage --verbose --forceExit ./routes.test.ts",
|
||||
|
||||
Reference in New Issue
Block a user