Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

mochicstudio/phaser-template

Repository files navigation


header
Mochic Studio's Phaser 3 TypeScript Template

Phaser 3 starter with TypeScript, Jest and Rollup with Vite.

Getting Started

Command Description
npm install Install project dependencies
npm run dev Builds project and open web server, watching for changes
npm run build Builds code bundle with production settings
npm run serve Run a web server to serve built code bundle
npm run test Run project test with coverage

Development

After cloning the repo, run npm install from your project directory. Then, you can start the local development server by running npm run dev and navigate to http://localhost:3000.

Production

After running npm run build, the files you need for production will be on the dist folder. To test code on your dist folder, run npm run serve and navigate to http://localhost:5000

License

MIT