/cli-project

repositorio de cli para desarrollo de juegos

Primary LanguageJavaScriptMIT LicenseMIT

projects TS CLI

CLi compila projects in ts

dependencies

npm npm npm npm

Join the chat at https://gitter.im/cli-project/community

GitHub forks GitHub stars

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/projectcli

Install Locally

npm install @malopez1578/projectcli

Install Specific Version (Example: 1.0.0)

npm install -g @malopez1578/projectcli@1.0.0

Usage

project [--start, --build, --help]

Show help

project --help

Generating and serving an project compile via a development server

cd PROJECT-NAME
project --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 :

project --start --port 3030

Generating final compilation of the project in production mode

cd PROJECT-NAME
project --build

Generating initial project files in typescript or Javascript

cd PROJECT-NAME
project --new

Documentation

License

MIT

TODO

  • Generate documentation.