@tylertech/forge-cli
TypeScript icon, indicating that this package has built-in type declarations

2.6.1 • Public • Published

Forge CLI

The Forge CLI is a utility for building and managing native Web Component libraries that follow the Forge project structure.

This utility can be used to scaffold new projects and components, as well as build and publish Forge Web Components libraries to npm.

Usage

The CLI tool is intended to be installed individually within each project.

$ npm install @tylertech/forge-cli

View commands

$ forge help

Generating a new project

$ forge new

Serving the static demo application

$ forge serve

Run $ forge help serve demo for information on options that can be passed to the serve command.

Development

Install dependencies:

$ npm install

Build the package:

$ npm run build

To run the build command in watch mode for an on-the-fly build:

$ npm run watch

Testing the CLI locally can be done by using npm link, or by just using a path to the dist directory after a successful build:

$ node ../forge-cli/dist/bin/forge help

License

Apache-2.0

Readme

Keywords

none

Package Sidebar

Install

npm i @tylertech/forge-cli

Weekly Downloads

24

Version

2.6.1

License

Apache-2.0

Unpacked Size

188 kB

Total Files

66

Last publish

Collaborators

  • tylerdevops