2025-12-28 12:23:55 +08:00
|
|
|
{
|
|
|
|
|
"name": "@esengine/server",
|
2025-12-29 16:12:03 +08:00
|
|
|
"version": "1.2.0",
|
2025-12-28 12:23:55 +08:00
|
|
|
"description": "Game server framework for ESEngine with file-based routing",
|
|
|
|
|
"type": "module",
|
|
|
|
|
"main": "./dist/index.js",
|
|
|
|
|
"module": "./dist/index.js",
|
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
|
"exports": {
|
|
|
|
|
".": {
|
|
|
|
|
"import": "./dist/index.js",
|
|
|
|
|
"types": "./dist/index.d.ts"
|
2025-12-29 15:02:13 +08:00
|
|
|
},
|
2025-12-29 16:10:09 +08:00
|
|
|
"./auth": {
|
|
|
|
|
"import": "./dist/auth/index.js",
|
|
|
|
|
"types": "./dist/auth/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./auth/testing": {
|
|
|
|
|
"import": "./dist/auth/testing/index.js",
|
|
|
|
|
"types": "./dist/auth/testing/index.d.ts"
|
|
|
|
|
},
|
2025-12-29 17:12:54 +08:00
|
|
|
"./ratelimit": {
|
|
|
|
|
"import": "./dist/ratelimit/index.js",
|
|
|
|
|
"types": "./dist/ratelimit/index.d.ts"
|
|
|
|
|
},
|
2025-12-29 15:02:13 +08:00
|
|
|
"./testing": {
|
|
|
|
|
"import": "./dist/testing/index.js",
|
|
|
|
|
"types": "./dist/testing/index.d.ts"
|
2025-12-28 12:23:55 +08:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"files": [
|
|
|
|
|
"dist",
|
|
|
|
|
"module.json"
|
|
|
|
|
],
|
|
|
|
|
"scripts": {
|
|
|
|
|
"build": "tsup",
|
|
|
|
|
"build:watch": "tsup --watch",
|
|
|
|
|
"dev": "tsup --watch",
|
|
|
|
|
"type-check": "tsc --noEmit",
|
2025-12-29 15:02:13 +08:00
|
|
|
"clean": "rimraf dist",
|
|
|
|
|
"test": "vitest run",
|
|
|
|
|
"test:watch": "vitest"
|
2025-12-28 12:23:55 +08:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"@esengine/rpc": "workspace:*"
|
|
|
|
|
},
|
|
|
|
|
"peerDependencies": {
|
2025-12-29 16:10:09 +08:00
|
|
|
"ws": ">=8.0.0",
|
|
|
|
|
"jsonwebtoken": ">=9.0.0"
|
|
|
|
|
},
|
|
|
|
|
"peerDependenciesMeta": {
|
|
|
|
|
"jsonwebtoken": {
|
|
|
|
|
"optional": true
|
|
|
|
|
}
|
2025-12-28 12:23:55 +08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2025-12-29 16:10:09 +08:00
|
|
|
"@types/jsonwebtoken": "^9.0.0",
|
2025-12-28 12:23:55 +08:00
|
|
|
"@types/node": "^20.0.0",
|
|
|
|
|
"@types/ws": "^8.5.13",
|
2025-12-29 16:10:09 +08:00
|
|
|
"jsonwebtoken": "^9.0.0",
|
2025-12-28 12:23:55 +08:00
|
|
|
"rimraf": "^5.0.0",
|
|
|
|
|
"tsup": "^8.0.0",
|
|
|
|
|
"typescript": "^5.7.0",
|
2025-12-29 15:02:13 +08:00
|
|
|
"vitest": "^2.0.0",
|
2025-12-28 12:23:55 +08:00
|
|
|
"ws": "^8.18.0"
|
|
|
|
|
},
|
|
|
|
|
"publishConfig": {
|
|
|
|
|
"access": "public"
|
|
|
|
|
},
|
|
|
|
|
"keywords": [
|
|
|
|
|
"esengine",
|
|
|
|
|
"game-server",
|
|
|
|
|
"rpc",
|
|
|
|
|
"websocket",
|
|
|
|
|
"ecs"
|
|
|
|
|
]
|
|
|
|
|
}
|