0.0.1 • Published 3 years ago

make-game-server v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Generates a game server template in Node.


:sparkles: Features


:wrench: Usage

npx make-game-server <server-name>

Usage with npx ensures that you are always using the latest version

make-game-server will do the following:

  • Create a new folder called <server-name>
  • Copy all template files to that folder
  • Install the dependencies
  • Make an initial commit

:computer: Develop

Commands

CommandDescription
yarn startContinuously builds and runs the tool
yarn buildGenerate files in the dist folder
yarn releaseStart the process to release a new version
yarn tscRun a type check with typescript
yarn xoLint with xo
yarn cleanRemove build artefact (.tgz file)
yarn goBuilds, packs and installs to example folder

Workflow

  1. Make changes
  2. yarn go and verify that your changes work.
  3. Commit to master or make PR

Release

  1. yarn release:prepare - Sets up your library for release
  2. If everything worked in the previous step: yarn release