After forking the repo from GitHub and installing dependencies:
git clone https://github.com/<your-name-here>/40Phaser
cd 40Phaser
npm i
Start a local http server using the provided VS Code npm start task or in your terminal:
npm run start
And in another terminal, start Rollup to compile your JavaScript files as you edit them:
npm run watch
Open http://127.0.0.1:8080/demo
to start playing!
Any changes you make to source files will be visible when you refresh the browser page.
Our CircleCI builds will publish new versions as listed in package.json
.
To update a version:
- Create a new branch locally
- Run
npm version
to updatepackage.json
andpackage-lock.json
- Send a pull request to
main
from that branch
Once that PR is merged, CircleCI will publish the new version. Hooray!