1.0.1 • Published 8 months ago

ts-spa-cli v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

My SPA CLI Tool

A CLI tool for speeding up development workflow in Single Page Applications (SPAs).

Table of Contents

  1. Installation
  2. Usage
  3. Commands
  4. Contributing
  5. License

Installation

You can install this CLI tool globally using npm:

npm install -g ts-spa-cli

Or you can install it for a single project:

npm install ts-spa-cli --save-dev

Usage

After installing the package, you can use the `ts` command to access its functionalities.

ts <command> [options]

Commands

Here are the available commands:

`start`

Run the project on localhost:8080

ts start

`build`

Build the project for ISS.

ts build

`new`

Create a new project.

ts new --name <project_name>

You will be prompted to enter the project name if you don't specify it using `--name`.

`component` or `c`

Create a new component.

ts c --name <component_name>

If you don't provide a `--name`, it will default to "new".

License

This project is licensed under the MIT License. See the LICENSE file for more details.