JSPM

  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q37138F
  • License MIT

CLI tool to create Hops applications

Package Exports

  • create-hops-app
  • create-hops-app/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (create-hops-app) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Create Hops App

npm

Please see the main Hops Readme for general information and a Getting Started Guide.

This package provides a binary (create-hops-app) that can be used to create Hops applications.

Bootstrap a Hops app

The recommended ways bootstrapping hops apps are either trough yarn create or npx.

Bootstrap using yarn create:

yarn create hops-app my-new-hops-project

Bootstrap using npx:

npx create-hops-app my-new-hops-project

Usage

yarn create hops-app my-new-hops-project [--verbose] [--npm] [--template hops-template-*]

This will create a very basic hops example project that is ready to go.

The following arguments are optional:

  • --verbose - to increase the verbosity of the output for debugging purposes
  • --npm - to force usage of npm instead of yarn even if yarn is available
  • --template - to specify a different template for the intial structure. available templates:

Then cd into my-new-hops-project and execute yarn hops --help or npx hops --help again to see a list of supported commands.