0.1.6 • Published 2 years ago

@walfie/ecs-fish-tank v0.1.6

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

ecs-fish-tank

ECS-based fish tank simulation with StreamElements integration.

Usage

For StreamElements usage, create a new custom widget, delete all the HTML, CSS, JS, Fields, and Data, and replace the HTML contents with the following:

<script type="module">
  import { init } from "https://unpkg.com/@walfie/ecs-fish-tank@0.1.4/dist/ecs-fish-tank.es.js";
  init({ debug: false });
</script>

Replace 0.1.4 with the latest version.

Development

yarn dev

This starts a local dev server on http://localhost:3000.

Build

yarn build

This creates assets in the dist/ directory.

Deploy to GitHub pages

yarn deploy

This will deploy to the gh-pages branch of your remote origin.

Release

npm version patch
git push --follow-tags

There is a GitHub workflow triggered on tag pushes, which will build and publish the package to NPM.