Socket
Book a DemoInstallSign in
Socket

generator-phaser-template

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-phaser-template

Phaser template generator using Yeoman

0.1.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

generator-phaser-template v0.1.1

Generate HTML5 templates for Phaser.

Installation

First, install Yeoman and generator-phaser-template using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-phaser-template

Then install Grunt and Bower globally.

npm install -g grunt-cli
npm install -g bower

Usage

Generate your new project:

yo phaser-template

Run a local development server (livereload enabled) with this command:

grunt

Package your game (i.e. minify css, html and js) with:

grunt build

Compress your game in a zip file, ready for CocoonJS usage, with:

grunt zip

To add new Phaser states (optional, generator creates basic initial states):

yo phaser:state

License

MIT © Andres Alvarez

Keywords

yeoman-generator

FAQs

Package last updated on 05 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.