feat(server): basic implementation of server runtime and SDK (#13)

* feat(server): basic implementation of server runtime and SDK
* refactor: better typing
This commit is contained in:
Neko
2025-01-15 20:54:46 +08:00
committed by GitHub
parent 61614775bd
commit 790189f1eb
19 changed files with 558 additions and 267 deletions
+10 -3
View File
@@ -3,7 +3,7 @@
"type": "module",
"version": "0.1.1",
"private": false,
"description": "Server runtime and utility implementation for Airi running in different environments",
"description": "Server runtime implementation for Airi running in different environments",
"author": {
"name": "Neko Ayaka",
"email": "neko@ayaka.moe",
@@ -30,9 +30,16 @@
"dist",
"package.json"
],
"scripts": {},
"scripts": {
"dev": "listhen -w --ws --port 6121 ./src/index.ts",
"start": "listhen --ws --port 6121 ./src/index.ts"
},
"dependencies": {
"@guiiai/logg": "^1.0.6",
"@proj-airi/server-shared": "workspace:^",
"crossws": "^0.3.1",
"defu": "^6.1.4",
"h3": "^1.13.1"
"h3": "^1.13.1",
"listhen": "^1.9.0"
}
}