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" } }