Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.04 KB

Development.md

File metadata and controls

38 lines (26 loc) · 1.04 KB

Development

After forking the repo from GitHub and installing dependencies:

git clone https://github.com/<your-name-here>/40Phaser
cd 40Phaser
npm i

Local Testing

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.

Updating Versions

Our CircleCI builds will publish new versions as listed in package.json. To update a version:

  1. Create a new branch locally
  2. Run npm version to update package.json and package-lock.json
  3. Send a pull request to main from that branch

Once that PR is merged, CircleCI will publish the new version. Hooray!