cocos-creator-multiplayer/examples/custom-http-res
2021-06-29 23:58:50 +08:00
..
.vscode custom http res 2021-06-29 23:48:07 +08:00
res custom http file service 2021-06-29 23:58:50 +08:00
src custom http file service 2021-06-29 23:58:50 +08:00
test custom http res 2021-06-29 23:48:07 +08:00
.gitignore custom http res 2021-06-29 23:48:07 +08:00
.mocharc.js custom http res 2021-06-29 23:48:07 +08:00
package.json custom http res 2021-06-29 23:48:07 +08:00
README.md custom http res 2021-06-29 23:48:07 +08:00
tsconfig.json custom http res 2021-06-29 23:48:07 +08:00

TSRPC Server

Run

Local Dev Server

npm run dev

Unit Test

Execute npm run dev first, then execute:

npm run test

Build

npm run build

Files

Generate ServiceProto

npm run proto

Generate API templates

npm run api

Sync shared code to client

npm run sync

If you chose symlink when using create-tsrpc-app, it would re-create the symlink instead of copy files.