Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/wtravo/phaser3-typescript-template
- Owner: wtravO
- Created: 2018-04-04T19:24:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-13T22:53:38.000Z (almost 2 years ago)
- Last Synced: 2024-09-23T17:32:12.314Z (about 2 months ago)
- Topics: nodejs, phaser-boilerplate, phaser3, phaserjs, typescript, uglify-webpack-plugin, webpack, webpack-dev-server, webpack4
- Language: TypeScript
- Homepage:
- Size: 5.69 MB
- Stars: 29
- Watchers: 7
- Forks: 4
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
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. |
=======