babel/generator-babel-boilerplate

Updated CLI

Opened this issue · 0 comments

This boilerplate should be configurable via the prompts when initializing it, and flags passed to the generator.

Prompts:

  • What is the Github username/organization for this project?
    Used for package.json fields (repo/issues/etc.)
  • What is the repository/project name?
    Used for README and package.json name
  • What is a short description for this project?
    Used for package.json
  • Who is the author of this project?
    Used for package.json author
  • What is the name of this project's main variable?
    Used for exporting and stuff
  • Would you like to build the project with Webpack or Rollup? (default to Webpack)

Flags should be:

  • --no-browser no browser tests are generated
  • --karma use karma instead of spec runner file #261
  • --code-climate include code climate files #201 #205
  • --no-travis turn off travis
  • --banner add a banner to the output #232
  • --cli add scaffolding for a CLI #217

//cc @thejameskyle / @megawac