Quick start template to develop HTML5 games using phaser and typescript.
Clone or download this repo.
Move to the downloaded or cloned folder then $ npm install
to install the dependencies.
Start the development server: $ npm start
Build the game: $ npm run build
Build for cordova and run a device: $ npm run cordova
The html5 build is in the dist folder
.
the cordova build is in the www folder
.
All required files and assets are added automatically to the index.html and the build folders.