@hammal/cli
Hammal boilerplate generator based on Command-line interface
Last updated 5 months ago by nicolaszhao .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @hammal/cli 
SYNC missed versions from official npm registry.

@hammal/cli

Install

npm install -g @hammal/cli

Usage

Usage: hammal <command>

Options:
  -v, --version                              output the version number
  -h, --help                                 output usage information

Commands:
  create <project-name>                      generate a new project from a template
  list|ls                                    list available templates
  add <template> <repository> [description]  add one custom template
  del <template>                             delete one custom template

Templates

pure --------- nicolaszhao/pure-boilerplate
react -------- nicolaszhao/react-boilerplate
react-spa ---- nicolaszhao/react-spa-boilerplate
react-app ---- nicolaszhao/react-app-boilerplate
vue-app ------ nicolaszhao/vue-app-boilerplate
library ------ nicolaszhao/library-boilerplate
react-library  nicolaszhao/react-library-boilerplate

You can add custom templates locally.

@hammal/cli-service projects

pure, react, react-spa, react-app.

browserslist

All projects will set browserslist config in package.json:

{
  ...
  "browserslist": {
    "production": [
      "> 1%",
      "last 2 versions"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}

ESLint

All templates have ESLint, you can remove ESLint by terminal inquirer.

License

MIT © nicolaszhao

Current Tags

  • 0.15.2                                ...           latest (5 months ago)

16 Versions

  • 0.15.2                                ...           5 months ago
  • 0.15.1                                ...           5 months ago
  • 0.15.0                                ...           5 months ago
  • 0.14.0                                ...           5 months ago
  • 0.13.1                                ...           5 months ago
  • 0.13.0                                ...           5 months ago
  • 0.12.5                                ...           6 months ago
  • 0.12.4                                ...           6 months ago
  • 0.12.3                                ...           6 months ago
  • 0.12.2                                ...           6 months ago
  • 0.12.1                                ...           6 months ago
  • 0.12.0                                ...           6 months ago
  • 0.11.3                                ...           6 months ago
  • 0.11.2                                ...           6 months ago
  • 0.11.1                                ...           7 months ago
  • 0.11.0                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (12)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |