Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/suxrobgm/phaser-typescript

Phaser 3 TypeScript Starter
https://github.com/suxrobgm/phaser-typescript

phaser rollup typescript vite

Last synced: 4 days ago
JSON representation

Phaser 3 TypeScript Starter

Awesome Lists containing this project

README

        




header


Phaser 3 TypeScript Starter


This is a [Phaser 3](https://github.com/photonstorm/phaser) starter with [TypeScript](https://www.typescriptlang.org/), [Rollup](https://rollupjs.org) with ⚡️ lightning fast HMR through [Vite](https://vitejs.dev/).

## Available Commands

| Command | Description |
|---------|-------------|
| `npm run 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 |

## Development

After cloning the repo, run `npm run 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