根据 chat 示例创建 game-server,支持分布式部署、域名访问、数据库连接和基础使用
This commit is contained in:
37
game-server/package.json
Normal file
37
game-server/package.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"name": "pinus-sample-websocket-chat-game-server-ts-run",
|
||||
"version": "1.4.9",
|
||||
"private": false,
|
||||
"main": "./dist/app",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"start": "yarn run build && cd dist && node app",
|
||||
"dev": "node tsrun.js",
|
||||
"test": "yarn run build",
|
||||
"cov": "nyc mocha",
|
||||
"ci": "yarn run test",
|
||||
"gen-api-ref": "node ../../../node_modules/typedoc/bin/typedoc --mode file --hideGenerator --excludeExternals --ignoreCompilerErrors --out ../../../run/site/public/api-reference/pinus-loader lib/"
|
||||
},
|
||||
"dependencies": {
|
||||
"@typegoose/typegoose": "^7.3.0",
|
||||
"@types/bluebird": "^3.5.19",
|
||||
"@types/crc": "^3.4.0",
|
||||
"@types/node": "8.10.54",
|
||||
"@types/redis": "^2.8.25",
|
||||
"bluebird": "^3.5.1",
|
||||
"crc": "^3.5.0",
|
||||
"mongoose": "^5.9.27",
|
||||
"pinus": "^1.4.9",
|
||||
"pinus-robot": "^1.4.9",
|
||||
"pinus-robot-plugin": "^1.4.9",
|
||||
"redis": "^3.0.2",
|
||||
"reflect-metadata": "^0.1.10",
|
||||
"source-map-support": "^0.5.0",
|
||||
"ts-node": "^8.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/mongoose": "^5.7.35",
|
||||
"tslint": "^5.9.1",
|
||||
"typescript": "^3.9.7"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user