Skip to content
Generate a JavaScript project
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
generators
.editorconfig
.eslintrc.json
.gitattributes
.gitignore
.huskyrc
.lintstagedrc
.prettierrc
.travis.yml
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
declarations.d.ts
jest.config.js
package-lock.json
package.json
tsconfig.json

README.md

generator-lionbyte

NPM version Dependency Status Build Status Coverage Status JavaScript Style Guide

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

You can’t perform that action at this time.