🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

generator-bem-blocks

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-bem-blocks

Easiest way to create new blocks :watermelon:

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

generator-bem-blocks NPM version Build Status Coverage Status

generator-bem-blocks

⚠️ This project deprecated

This project was deprecated since 0.1.2 version. Fork it if you need additional features, or use hygen for blazing fast components scaffolding.

Installation

npm install -g generator-bem-blocks

Usage

This is really easiest way to generate bem blocks.

yo bem-blocks

You can create multiple blocks.

Block1 Block2 Block3

Basic structure of generated block:

blockName/
  ├──blockName.markupExtension
  └──blockName.styleExtension

Supported extensions

MarkupStyle
jsxstyl
pugcss
pug bem-tosass
htmlscss
~less
~sss

Also, with jsx block it creates index.jsx to more comfortable import.

Stay BEMed!

License

MIT © lamartire

Keywords

bem

FAQs

Package last updated on 02 Jul 2019

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