1.2.4 • Published 6 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/gamescliInstall Locally
npm install @malopez1578/gamescliAlternatively, 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.0Usage
game [--start, --build, --help]Show help
game --helpGenerating and serving an Game compile via a development server
cd PROJECT-NAME
game --startNavigate 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 3030Generating final compilation of the game in production mode
cd PROJECT-NAME
game --buildGenerating initial game files in typescript or Javascript
cd PROJECT-NAME
game --newOptional you can select the template
cd PROJECT-NAME
game --new --template TypescriptDocumentation
License
TODO
- Generate documentation.
