Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
87 lines
1.9 KiB
JSON
87 lines
1.9 KiB
JSON
{
|
|
"name": "@esengine/server",
|
|
"version": "2.0.0",
|
|
"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"
|
|
},
|
|
"./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"
|
|
},
|
|
"./ratelimit": {
|
|
"import": "./dist/ratelimit/index.js",
|
|
"types": "./dist/ratelimit/index.d.ts"
|
|
},
|
|
"./testing": {
|
|
"import": "./dist/testing/index.js",
|
|
"types": "./dist/testing/index.d.ts"
|
|
},
|
|
"./ecs": {
|
|
"import": "./dist/ecs/index.js",
|
|
"types": "./dist/ecs/index.d.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"module.json"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"build:watch": "tsup --watch",
|
|
"dev": "tsup --watch",
|
|
"type-check": "tsc --noEmit",
|
|
"clean": "rimraf dist",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"dependencies": {
|
|
"@esengine/rpc": "workspace:*"
|
|
},
|
|
"peerDependencies": {
|
|
"ws": ">=8.0.0",
|
|
"jsonwebtoken": ">=9.0.0",
|
|
"@esengine/ecs-framework": ">=2.5.1"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"jsonwebtoken": {
|
|
"optional": true
|
|
},
|
|
"@esengine/ecs-framework": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@esengine/ecs-framework": "workspace:*",
|
|
"@types/jsonwebtoken": "^9.0.0",
|
|
"@types/node": "^20.0.0",
|
|
"@types/ws": "^8.5.13",
|
|
"jsonwebtoken": "^9.0.0",
|
|
"rimraf": "^5.0.0",
|
|
"tsup": "^8.0.0",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^2.0.0",
|
|
"ws": "^8.18.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"keywords": [
|
|
"esengine",
|
|
"game-server",
|
|
"rpc",
|
|
"websocket",
|
|
"ecs"
|
|
]
|
|
}
|