Skip to content

MarkH817/generator-lionbyte

Repository files navigation

generator-lionbyte

NPM version Build Status

Generate a JavaScript project

Installation

First, install Yeoman and generator-lionbyte using npm (we assume you have pre-installed node.js).

npm install -g yo generator-lionbyte

Usage

mkdir my-new-project
cd my-new-project
yo lionbyte

Features

This generator scaffolds the following JavaScript project types:

  • Node (default)
  • Frontend

In addition, the following utility packages are added for all project types:

  • typescript type checking with *.js files
  • jest for testing and code coverage
  • prettier and standard code style and linter
  • Travis-CI script to run the tests
  • Optional pre-commit hook to run these linters via husky and lint-staged

Project Type: Node (Default)

  • Meant to serve as a base for any Node.js projects

Project Type: Frontend

  • webpack configurations for development and production
  • Styles
    • Autoprefixer
    • CSSNano - Minification
    • LESS CSS Preprocessor
  • Option to include React

Contributing

See CONTRIBUTING

License

MIT © Mark Hernandez