From ad63e4a88eae9ed77afec117338d30809f416f82 Mon Sep 17 00:00:00 2001 From: King Wang Date: Sat, 4 Dec 2021 11:24:42 +0800 Subject: [PATCH] update deps --- examples/cocos-creator-multiplayer/README.md | 3 +++ .../cocos-creator-multiplayer/backend/package.json | 14 +++++++------- .../frontend/package.json | 1 - 3 files changed, 10 insertions(+), 8 deletions(-) create mode 100644 examples/cocos-creator-multiplayer/README.md diff --git a/examples/cocos-creator-multiplayer/README.md b/examples/cocos-creator-multiplayer/README.md new file mode 100644 index 0000000..a89a915 --- /dev/null +++ b/examples/cocos-creator-multiplayer/README.md @@ -0,0 +1,3 @@ +# TSRPC + Cocos 多人实时对战 Demo + + diff --git a/examples/cocos-creator-multiplayer/backend/package.json b/examples/cocos-creator-multiplayer/backend/package.json index 25c5e18..3a757eb 100644 --- a/examples/cocos-creator-multiplayer/backend/package.json +++ b/examples/cocos-creator-multiplayer/backend/package.json @@ -4,13 +4,13 @@ "main": "index.js", "private": true, "scripts": { - "proto": "tsrpc proto --config tsrpc.config.ts", - "sync": "tsrpc link --config tsrpc.config.ts", - "api": "tsrpc api --config tsrpc.config.ts", - "doc": "tsrpc doc --config tsrpc.config.ts", - "dev": "tsrpc dev --config tsrpc.config.ts", + "proto": "tsrpc proto", + "sync": "tsrpc link", + "api": "tsrpc api", + "doc": "tsrpc doc", + "dev": "tsrpc dev", "test": "mocha test/**/*.test.ts", - "build": "tsrpc build --config tsrpc.config.ts" + "build": "tsrpc build" }, "devDependencies": { "@types/mocha": "^8.2.3", @@ -22,6 +22,6 @@ "typescript": "^4.5.2" }, "dependencies": { - "tsrpc": "^3.1.3-dev.1" + "tsrpc": "^3.1.3" } } diff --git a/examples/cocos-creator-multiplayer/frontend/package.json b/examples/cocos-creator-multiplayer/frontend/package.json index fbe38b4..8155950 100644 --- a/examples/cocos-creator-multiplayer/frontend/package.json +++ b/examples/cocos-creator-multiplayer/frontend/package.json @@ -7,7 +7,6 @@ "version": "3.3.2" }, "dependencies": { - "tsrpc-base-client": "^1.2.3", "tsrpc-browser": "^3.1.3" } }