https://github.com/sleepingcat-xiaohui/iphaser-cli
CLI for generate a game templete by Phaser.
https://github.com/sleepingcat-xiaohui/iphaser-cli
es6 iphaser-cli phaser template webpack
Last synced: 3 months ago
JSON representation
CLI for generate a game templete by Phaser.
- Host: GitHub
- URL: https://github.com/sleepingcat-xiaohui/iphaser-cli
- Owner: SleepingCat-xiaohui
- License: mit
- Created: 2018-03-06T03:49:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-28T08:51:03.000Z (over 6 years ago)
- Last Synced: 2024-10-10T14:46:51.927Z (7 months ago)
- Topics: es6, iphaser-cli, phaser, template, webpack
- Language: JavaScript
- Size: 44.9 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iphaser-cli
CLI for generate a Phaser.js project. You can also use this to view documents, version 2 or version 3.
### Installation
Prerequisites: [Node.js](https://nodejs.org/en/) (>=6.x, 8.x preferred), npm version 4+ and [Git](https://git-scm.com/).
```bash
$ npm install -g iphaser-cli
```### Usage
```bash
$ iphaser create [project-name]
```### Example
```bash
$ iphaser create phaser2 my-project
```### Template list
```bash
$ iphaser list
```You can view the latest template list with the above command
Now, you have two templates to choose from
- [phaser2](https://github.com/SleepingCat-xiaohui/iphaser-template-phaser2) - A template based on phaser2.6.2 + webpack + es6
- [phaser3](https://github.com/SleepingCat-xiaohui/iphaser-template-phaser3) - A template based on phaser3 + webpack + es6### Docs
```bash
$ iphaser docs
```You can view the document from the above command
### License
[MIT](http://opensource.org/licenses/MIT)