0.0.6 • Published 12 months ago
wallwars-core v0.0.6
wallwars-core
Core logic of the wallwars game and variants.
Workflow for working with the package
This is a reminder for how to update and use this package.
- Make changes in
src/
. - Increment the version number in
package.json
. - Ensure tests pass.
npm test
- Build. This transpiles
ts
tojs
and generates the.d.ts
file with type descriptions.
npm run build
- Commit and push to github. This is not necessary for the following steps, but doing it now keeps npm and github consistent.
- Publish to npm.
npm publish
- Update the version in each of the browser and node.js packages.
npm install wallwars-core@latest