1.2.4 • Published 5 years ago
@malopez1578/gamescli v1.2.4
Games TS CLI
CLi compila games in ts
Prerequisites
The CLI have dependencies that require Node 8.9 or higher, together with NPM 5.5.1 or higher.
Table of Contents
Installation
BEFORE YOU INSTALL: please read the prerequisites
Install Globally
npm install -g @malopez1578/gamescli
Install Locally
npm install @malopez1578/gamescli
Alternatively, you can install npx and run npx game <command>
within the local directory where npm install @malopez1578/gamescli
was run, which will use the locally installed angular-cli.
Install Specific Version (Example: 1.0.0)
npm install -g @malopez1578/gamescli@1.0.0
Usage
game [--start, --build, --help]
Show help
game --help
Generating and serving an Game compile via a development server
cd PROJECT-NAME
game --start
Navigate to http://localhost:8080/
. The app will automatically reload if you change any of the source files.
You can configure the default port used by the development server with one command-line options :
game --start --port 3030
Generating final compilation of the game in production mode
cd PROJECT-NAME
game --build
Generating initial game files in typescript or Javascript
cd PROJECT-NAME
game --new
Optional you can select the template
cd PROJECT-NAME
game --new --template Typescript
Documentation
License
TODO
- Generate documentation.