Skip to content

scottmcdonnell/phaser-typescript-webpack-starter

 
 

Repository files navigation

Phaser skeleton w/ TypeScript and WebPack

##About

A simple example using Phaser with TypeScript and WebPack.

Based on lean/phaser-es6-webpack and the-simian/slush-phaser-webpack and also AngularClass/angular2-webpack-starter.

This is a fork of mgiambalvo/phaser-typescript-webpack-starter to add npm commands below and karma test framework.

##Setup

# install the repo with npm
npm install

# start the dev server
npm start

##Server

# development
npm run server

# production
npm run build:prod && npm run server:prod

##Test

npm run test

##Clean

# clean all cache node modules etc
npm run clean

# awesome-typescript-loader has its own cache which can be cleared 
# worth trying if you are seeing strange results!
npm run clean:typescript

About

A simple starter example for using Phaser with Webpack and TypeScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.4%
  • TypeScript 13.8%
  • HTML 3.8%