h5-clis

1.6.0 • Public • Published

h5-cli

A simple CLI for scaffolding kinds of h5 projects.

Installation

Prerequisites: Node.js (>=6.x, 8.x preferred), npm version 3+ and Git.

$ npm install -g h5-clis

Usage

$ h5-cli init <h5-tempalte>
$ h5-cli init <username/repo>

Example:

$ h5-cli init koa2
$ h5-cli init comeonbob/h5-template-koa2

The above command generates the project at ./koa2-project/.

Doc

Each h5 project template has a awesome README.md, please read it first

Templates

  • Share your h5 project template here
  • Templates that we currently support:
{
  koa2: 'comeonbob/h5-template-koa2',
  express: 'comeonbob/h5-template-express',
  vue2: 'comeonbob/h5-template-vue2',
  angular1: 'comeonbob/h5-template-angular1' // not simple
}
 

License

MIT

Package Sidebar

Install

npm i h5-clis

Weekly Downloads

3

Version

1.6.0

License

MIT

Unpacked Size

6.15 kB

Total Files

7

Last publish

Collaborators

  • bob.gao