A fork of my Webpack & Typescript Starter and my Webpack & Phaser Starter.
Including, but not limited to, the following:
webpack(d'oh)webpack-dev-serverfor development & hot module reloadingbabelfor TypeScript transpiling, including stage 0 supporttslintfor code hygienemocha,chai&sinonfor testingistanbulfor code coveragephaser,pixi.jsandp2for the game enginephaser-debugfor improved debuggingphaser-glsl-loaderto simplify shader loadingtypingsfor type definitions
| Command | Description |
|---|---|
npm start |
Start a dev server. |
npm run server |
Start a dev server. |
npm run server:reload |
Start a dev server with HMR enabled. |
npm run build |
Build the production version of the app. |
npm run build:prod |
Build the production version of the app. |
npm run build:dev |
Build the developement version of the app. |
npm run test |
Run the tests. |
npm run test:watch |
Run the tests & watch for changes. |
npm run test:coverage |
Run the test coverage analysis. |
npm run lint |
Lint the code. |
Hot Module Replacement doesn't really work with Phaser, so that isn't enabled by default when starting a dev server.