/library

Library used by client & server repositories

Primary LanguageTypeScript

logo

A multiplayer mobile game with a shared gaming interface across devices

build with love

and :

TypeScriptReactReduxPhaserSocket.IONode

Colobobo - Library

This repository is the library part of Colobobo project. The other parts :

To run the project locally you will need at least the client part and the server part.

Installation

  1. Set node version with nvm

    nvm use
  2. Install dependencies with yarn

    yarn install

Build

  • Build

    yarn build
  • Build and watch changes

    yarn watch

Use @colobobo/library locally

To use @colobobo/library in development mode in the client or in the server, you need to create a symlink.

Client

  1. For the client you need to create a yarn symlink

    yarn link
  2. Then go to the client directory

    yarn link @colobobo/library

Server

  1. For the server you need to create a npm symlink

    npm link
  2. Then go to the server directory

    npm link @colobobo/library