Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/wtravo/phaser3-typescript-template

A Phaser 3 TypeScript Template
https://github.com/wtravo/phaser3-typescript-template

nodejs phaser-boilerplate phaser3 phaserjs typescript uglify-webpack-plugin webpack webpack-dev-server webpack4

Last synced: about 2 months ago
JSON representation

A Phaser 3 TypeScript Template

Awesome Lists containing this project

README

        

# Phaser 3 TypeScript/Webpack Project Template

A Phaser 3 TypeScript Template

Modeled after [Phaser 3 Project Template](https://github.com/photonstorm/phaser3-project-template)

### Requirements

We need [Node.js](https://nodejs.org) to install and run scripts.

## Install and run

Run next commands in your terminal:

| Command | Description |
|---------|-------------|
| `npm install` | Install dependencies and launch browser with examples.|
| `npm run build:dev` | Builds a unminified copy of your game, with source maps, for debugging purposes. |
| `npm run build:prod` | Builds a minified copy of your game without source maps for production use. |
| `npm start` | Launch browser of choice and navigate to [http://localhost:8080/](http://localhost:8080/).
Press `Ctrl + C` in NodeJS terminal to kill **webpack-dev-server** process. |
=======