Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-brei-app

Package Overview
Dependencies
Maintainers
2
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-brei-app

Yeoman generator

  • 2.1.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16
increased by433.33%
Maintainers
2
Weekly downloads
 
Created
Source

generator-brei-app

Version npm Build Status

Getting Started

Install Yeoman

npm install -g yo

Install the BREI-App Generator

npm install -g generator-brei-app

Finally, initiate the generator:

yo brei-app

From here you will be presented with a series of options:

What would you like to do? (Use arrow keys)
❯ Create a New Project
  Create a Partial
  Create a Module
  Create a Template
  Import a Pattern
  Update Your Project

Just follow the promps and off you go!

Sub-Generators

All Sub-Generators install the properly formatted .hbs and .scss file. All according to conventions. Woot.
Note: you can either run yo brei-app and select the desired sub generator task, or you can use the following commands to do it manually.

Create a new Project:

yo brei-app:new

Create a new Template:

yo brei-app:template

#  @param {String} the name of your template

Create a new Module

yo brei-app:module

#  @param {String} the name of your module

Create a new Partial

yo brei-app:partial

#  @param {String} the name of your partial

Add a pattern from the BREI Pattern Library

yo brei-app:pattern

#  @param {String} The type of pattern (template, module, partial)
#  @param {String} The name of the pattern (the pattern must exists)
  • You will be provided a list of available patterns, so long as the library's pattern.json is up to date. This will help prevent issues of spelling the name wrong.

Update part of your project

yo brei-app:update
  • This will provide you with options on which segment of the project you would like to update.
  • Tips: when a conflict occurs, hit "d" to see a diff of changes, hit "y" to overwrite, hit "n" to not overwrite.

Testing

This generator has git pre-commit hook that will forcefully run the tests and jshint whenever you seek to make a commit

Prerequisites:

npm install -g jshint

To Test:

npm test

Keywords

FAQs

Package last updated on 06 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc