1.0.0 • Published 7 years ago

generator-bolste v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

Generator Bolste

Yeoman generators for Bolste style component modlets. Specifically for React development.

Commands

yo bolste --name="Your Component Name"

This will create a full modlet in the current working directory, including:

  • a React file
  • a SCSS file
  • a Story file
  • a test file

yo bolste:react --name="Your Component Name"

Create a react file with BEM style class names.

yo bolste:scss --name="Your Component Name"

Create a SCSS file with BEM style class names.

yo bolste:story --name="Your Component Name"

Create a story file that assumes ./YouComponentName.js exists.

yo bolste:test --name="Your Component Name"

Create a test file that assumes ./YouComponentName.js exists.