gcristofol / PixiProject

Pixi.js project boiler plate using TypeScript, Gulp, Browserify, Uglify and Tape

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pixi.js Project

A generic frontend Pixi.js project boiler plate in TypeScript with source map support.

Main features:

  • Source Map support
  • Incremental Build
  • Unit tests
  • Browser auto-refresh

Main dependencies:

Installation

Node, TypeScript and TSLint should be installed globally.

$> git clone https://github.com/yahiko00/PixiProject.git <new folder>
$> cd <new folder>
$> git init
$> npm install

Build

Project settings are defined in package.json, settings section. Inside this section, set debug to true to debug the project with source maps, or set debug to false to build the project in the release mode.

Tasks are defined in the gulpfile.js script.

Commands should be run under a bash shell.

The following command builds the project, runs unit tests, and opens the browser. If any change happens, it builds the project again and refreshes the browser.

$> npm run watchRefresh

For more predefined commands, see package.json, item scripts.

Unit tests are logged in the tests/ folder, file tape.log.

Contributors

yahiko

Licence

MIT

About

Pixi.js project boiler plate using TypeScript, Gulp, Browserify, Uglify and Tape

License:MIT License


Languages

Language:JavaScript 62.9%Language:TypeScript 31.6%Language:HTML 3.6%Language:CSS 1.9%