{"repo":"phaserjs/template-bun","free":true,"listed":false,"github":"https://github.com/phaserjs/template-bun","clone":"git clone https://github.com/phaserjs/template-bun.git","description":"A Phaser 3 project template that uses Bun for bundling","language":"TypeScript","stars":28,"topics":["bun","canvas","games","phaser","phaser3","typescript","vite","webgl"],"license":"MIT","category":"game-templates","readme_excerpt":"Phaser Bun TypeScript Template This is a Phaser 3 project template that uses Vite and Bun for bundling. It supports hot-reloading for quick development workflow, includes TypeScript support and scripts to generate production-ready builds. Versions This template has been updated for: - Phaser 3.90.0 - Vite 6.3.1 - TypeScript 5.7.2 Requirements Bun is required to install dependencies and run scripts via bun . Available Commands Command Description --------- ------------- bun install Install project dependencies bun run dev Launch a development web server bun run build Create a production build in the dist folder bun run dev-nolog Launch a development web server without sending anonymous data (see \"About log.js\" below) bun run build-nolog Create a production build in the dist folder without sending anonymous data (see \"About log.js\" below) Writing Code After cloning the repo, run bun install from your project directory. Then, you can start the local development server by running bun run dev . The local development server runs on http://localhost:8080 by default. Please see the Vite documentation if you wish to change this, or add SSL support. Once the server is running you can edit any of the files in the src folder. Vite will automatically recompile your code and then reload the browser. Template Project Structure We have provided a default project structure to get you started. This is as follows: Path Description ------------------------------ ---------------------------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/phaserjs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/phaserjs/template-bun/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}