0.0.1 • Published 3 years ago
make-game-server v0.0.1
Generates a game server template in Node
.
:sparkles: Features
:m:
typescript
+ts-node
:policeman:
xo
:nail_care:
prettier
:no_entry_sign: :poop:
lint-staged
+ :dog:husky
:straight_ruler:
ava
:recycle:
plop
:crayon:
chalk
:straight_ruler:
ava
: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
Command | Description |
---|---|
yarn start | Continuously builds and runs the tool |
yarn build | Generate files in the dist folder |
yarn release | Start the process to release a new version |
yarn tsc | Run a type check with typescript |
yarn xo | Lint with xo |
yarn clean | Remove build artefact (.tgz file) |
yarn go | Builds, packs and installs to example folder |
Workflow
- Make changes
yarn go
and verify that your changes work.- Commit to
master
or makePR
Release
yarn release:prepare
- Sets up your library for release- If everything worked in the previous step:
yarn release
0.0.1
3 years ago