Skip to content

node-honeycomb/honeycomb-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

honeycomb-cli

the Command line tools for honeycomb app dev.

English | 中文

Installation

npm install honeycomb-cli -g

Usage

Initialize an App

honeycomb init [-t template] [-s scope] [--registry registry] [directory]
  • template, app template, default is simple, console is also available
  • scope, npm scope, you can specify npm scope to get private templates, e.g. -s @ali
  • registry, npm registry, it will download packages from the default npm registry, if your network is slow, you can use npm mirrors like https://registry.npm.taobao.org
  • directory, the folder which contains app files, default is the current folder

Start an App

cd path/to/app
honeycomb start [-p port] [-o domain] [--inspect]
  • port, app's listen port, default is 8001
  • -o domain, open browser with the domain after app's started

Pack an App

cd path/to/app
honeycomb package [-env env]
  • env, load specific env config, default is production

Global Config

// display config
honeycomb config KEY

// set config
honeycomb config KEY VALUE
  • currently, only registry config is supported

minify config

package.json

{
  "minify": {
    "ignoreNodeModules": false // 跳过node_modules目录
  }
}

Others

You can use honeycomb --help and honeycomb COMMAND --help to get full commands and full options.

About

the cli tool for developing honeycomb micro-app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published